summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index bac726bf..69c55417 100755
--- a/setup.py
+++ b/setup.py
@@ -11,6 +11,11 @@ import textwrap
# Allow to run setup.py from another directory.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
+# Prevent improper installs without necessary metadata. See #659
+if not os.path.exists('setuptools.egg-info'):
+ msg = "Cannot build setuptools without metadata. Run bootstrap.py"
+ raise RuntimeError(msg)
+
src_root = None
from distutils.util import convert_path
@@ -67,7 +72,7 @@ wheel = ['wheel'] if needs_wheel else []
setup_params = dict(
name="setuptools",
- version="24.0.2",
+ version="24.0.3",
description="Easily download, build, install, upgrade, and uninstall "
"Python packages",
author="Python Packaging Authority",