File: dont-use-2to3.patch

package info (click to toggle)
python-demjson 2.2.4-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 676 kB
  • sloc: python: 5,699; makefile: 9
file content (12 lines) | stat: -rw-r--r-- 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,8 @@ py3extra = {}
 if py_major >= 3:
     # Make sure 2to3 gets run
     if distmech == 'setuptools':
-        py3extra['use_2to3'] = True
+        pass
+        #py3extra['use_2to3'] = True
         #py3extra['convert_2to3_doctests'] = ['src/your/module/README.txt']
         #py3extra['use_2to3_fixers'] = ['your.fixers']
     elif distmech == 'distutils':