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 | 09cd8b7eefb021f2d8327e42614bca7cbb8915f2 (patch) | |
| tree | e54d46837b31f00197106ad6f104f3444c65b521 /setup.py | |
| parent | 1c5cab5ce9c6bf5c2a161748d03a5fa44a69e15e (diff) | |
| download | astroid-git-09cd8b7eefb021f2d8327e42614bca7cbb8915f2.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 |
