aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-03-30 22:15:03 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-03-30 22:15:03 -0400
commitb6bf75575644f8cb5457618a5a2c8e35e152052b (patch)
tree36998d27f397e34735aa3254472aacaae1ff64b5
parent52c58bedd49552359993b533fcd86da4ff58b0c2 (diff)
downloadexternal_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-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 100acfaa..77abf593 100755
--- a/setup.py
+++ b/setup.py
@@ -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`."