diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-03-30 22:15:03 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-03-30 22:15:03 -0400 |
commit | b6bf75575644f8cb5457618a5a2c8e35e152052b (patch) | |
tree | 36998d27f397e34735aa3254472aacaae1ff64b5 | |
parent | 52c58bedd49552359993b533fcd86da4ff58b0c2 (diff) | |
download | external_python_setuptools-b6bf75575644f8cb5457618a5a2c8e35e152052b.tar.gz external_python_setuptools-b6bf75575644f8cb5457618a5a2c8e35e152052b.tar.bz2 external_python_setuptools-b6bf75575644f8cb5457618a5a2c8e35e152052b.zip |
Check for egg info dir relative to setup.py
-rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ here = os.path.dirname(__file__) def require_metadata(): "Prevent improper installs without necessary metadata. See #659" - if not os.path.exists('setuptools.egg-info'): + egg_info_dir = os.path.join(here, 'setuptools.egg-info') + if not os.path.exists(egg_info_dir): msg = ( "Cannot build setuptools without metadata. " "Install rwt and run `rwt -- bootstrap.py`." |