Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d3a12 commit 4311dc8Copy full SHA for 4311dc8
1 file changed
setup.py
@@ -252,6 +252,15 @@ def add_dateutil():
252
if options['verbose']:
253
mod.extra_compile_args.append('-DVERBOSE')
254
255
+if sys.version_info[0] >= 3:
256
+ # We need to skip certain files that have already been
257
+ # converted to Python 3.x
258
+ original_build_py = build_py
259
+ class build_py(original_build_py):
260
+ def run_2to3(self, files):
261
+ filtered = [x for x in files if 'py3' not in x]
262
+ original_build_py.run_2to3(self, filtered)
263
+
264
print_raw("pymods %s" % py_modules)
265
print_raw("packages %s" % packages)
266
distrib = setup(name="matplotlib",
0 commit comments