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 /setup.py | |
| parent | 52c58bedd49552359993b533fcd86da4ff58b0c2 (diff) | |
| download | python-setuptools-git-b6bf75575644f8cb5457618a5a2c8e35e152052b.tar.gz | |
Check for egg info dir relative to setup.py
Diffstat (limited 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`." |
