summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`."