diff options
author | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-24 16:18:27 +0100 |
---|---|---|
committer | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-24 16:18:27 +0100 |
commit | 7586408e02ad50efdfc84d02f37d04b962022f70 (patch) | |
tree | 864f748e398138a73dc6563d6b8f357cb525499c /setup.py | |
parent | 2f9539af8c85fce925842b6932c3a5ebc69c5362 (diff) | |
download | logilab-common-7586408e02ad50efdfc84d02f37d04b962022f70.tar.gz |
setuptools control
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 3 insertions, 0 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 @@ -23,6 +25,7 @@ except ImportError: 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 |