Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stop using 2to3
  • Loading branch information
inducer committed Mar 16, 2016
1 parent 1a7ba64 commit f735aec
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions setup.py
Expand Up @@ -139,12 +139,6 @@ def main():
exec(compile(open("pycuda/__init__.py").read(), "pycuda/__init__.py", 'exec'),
ver_dic)

try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
# 2.x
from distutils.command.build_py import build_py

import sys
if sys.version_info >= (3,):
pvt_struct_source = "src/wrapper/_pvt_struct_v3.cpp"
Expand Down Expand Up @@ -225,10 +219,7 @@ def main():
]
},

zip_safe=False,

# 2to3 invocation
cmdclass={'build_py': build_py})
zip_safe=False)


if __name__ == '__main__':
Expand Down

0 comments on commit f735aec

Please sign in to comment.