diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-24 15:14:25 +0100 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-24 15:14:25 +0100 |
| commit | 7433d82a66de2ae537061c7393fbf15cf5171e86 (patch) | |
| tree | a45c925b13346f9eb8d66be8ff80778e5d15de1f /setup.py | |
| parent | 518ddb62ba15b41da022f3827df1c8f39308a34f (diff) | |
| download | astroid-git-7433d82a66de2ae537061c7393fbf15cf5171e86.tar.gz | |
setuptools fix
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,6 +14,8 @@ import shutil from os.path import isdir, exists, join, walk try: + if os.environ.get('NO_SETUPTOOLS'): + raise ImportError() from setuptools import setup from setuptools.command import install_lib USE_SETUPTOOLS = 1 @@ -22,7 +24,7 @@ except ImportError: from distutils.command import install_lib USE_SETUPTOOLS = 0 - +sys.modules.pop('__pkginfo__', None) # import required features from __pkginfo__ import modname, version, license, short_desc, long_desc, \ web, author, author_email |
