File: 2001_disable-clean-i18n-in-setup-py.patch

package info (click to toggle)
pyhoca-gui 0.6.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,524 kB
  • sloc: python: 6,911; makefile: 37; sh: 20
file content (22 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Work-around DistUtilsExtra clean_i18n subcommand being not available anymore.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: no, Debian-specific hack

--- a/setup.py
+++ b/setup.py
@@ -90,7 +90,6 @@
 elif platform.system() in ('Linux', 'Darwin'):
     import DistUtilsExtra.command.build_extra
     import DistUtilsExtra.command.build_i18n
-    import DistUtilsExtra.command.clean_i18n
     py2exe = object
     Freezer = object
 
@@ -308,7 +307,6 @@
         {
             "build" : DistUtilsExtra.command.build_extra.build_extra,
             "build_i18n" :  DistUtilsExtra.command.build_i18n.build_i18n,
-            "clean": DistUtilsExtra.command.clean_i18n.clean_i18n,
         }
     )