diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-10-27 00:35:18 +0200 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-10-27 00:35:18 +0200 |
commit | 7b47900719912b26af7b48a7c469b9bf481b858a (patch) | |
tree | bf905e81c2763ad8925e97a747b569635f8ebd9d /setup.py | |
parent | 169cd59262b8d4838c649fbd79b386ac79d683c3 (diff) | |
download | astroid-7b47900719912b26af7b48a7c469b9bf481b858a.tar.gz |
Make the source compatible with Python 2.7 and 3.3+.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -37,12 +37,7 @@ except ImportError: from distutils.command import install_lib USE_SETUPTOOLS = 0 -try: - # python3 - from distutils.command.build_py import build_py_2to3 as build_py -except ImportError: - # python2.x - from distutils.command.build_py import build_py +from distutils.command.build_py import build_py sys.modules.pop('__pkginfo__', None) # import optional features |