summarylogtreecommitdiffstats
path: root/setup.py.patch
blob: 80e1dfca48ac820cd0c1b0a0afa8054771097321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/setup.py b/setup.py
index 0cb8763..35b5c9d 100644
--- a/setup.py
+++ b/setup.py
@@ -33,19 +33,19 @@ if False:
 
 py3extra = {}
 
-if py_major >= 3:
-    # Make sure 2to3 gets run
-    if distmech == 'setuptools':
-        py3extra['use_2to3'] = True
-        #py3extra['convert_2to3_doctests'] = ['src/your/module/README.txt']
-        #py3extra['use_2to3_fixers'] = ['your.fixers']
-    elif distmech == 'distutils':
-        import distutils, distutils.command, distutils.command.build_py, distutils.command.build_scripts
-        cmdclass = {
-            'build_py':      distutils.command.build_py.build_py_2to3,
-            'build_scripts': distutils.command.build_scripts.build_scripts_2to3
-            }
-        py3extra['cmdclass'] = cmdclass
+#if py_major >= 3:
+#    # Make sure 2to3 gets run
+#    if distmech == 'setuptools':
+#        py3extra['use_2to3'] = True
+#        #py3extra['convert_2to3_doctests'] = ['src/your/module/README.txt']
+#        #py3extra['use_2to3_fixers'] = ['your.fixers']
+#    elif distmech == 'distutils':
+#        import distutils, distutils.command, distutils.command.build_py, distutils.command.build_scripts
+#        cmdclass = {
+#            'build_py':      distutils.command.build_py.build_py_2to3,
+#            'build_scripts': distutils.command.build_scripts.build_scripts_2to3
+#            }
+#        py3extra['cmdclass'] = cmdclass
 
 setup( name=name,
        version=version,