diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2013-06-18 08:44:39 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-06-18 08:44:39 -0500 |
| commit | fb8c7cf0abc9ce58b8a6f0621c0a9909fb9b8eff (patch) | |
| tree | 95cae06260f49e011fc045000fc1531dbc0e0cf5 /site.py | |
| parent | 32ba6930fa97bbeac9392cac3ed49aac87fd1018 (diff) | |
| parent | db678072da41b75408680dab3e23c1b76573bf1d (diff) | |
| download | python-setuptools-git-fb8c7cf0abc9ce58b8a6f0621c0a9909fb9b8eff.tar.gz | |
Merge with upstream
--HG--
branch : distribute
Diffstat (limited to 'site.py')
| -rwxr-xr-x | site.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ def __boot(): - import sys, imp, os, os.path + import sys, os, os.path PYTHONPATH = os.environ.get('PYTHONPATH') if PYTHONPATH is None or (sys.platform=='win32' and not PYTHONPATH): PYTHONPATH = [] @@ -23,6 +23,7 @@ def __boot(): break else: try: + import imp # Avoid import loop in Python >= 3.3 stream, path, descr = imp.find_module('site',[item]) except ImportError: continue |
