summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-02-01 10:11:24 -0500
committerGitHub <noreply@github.com>2021-02-01 10:11:24 -0500
commita96ab21c5da30e71daa69f5b645097a86e8dc492 (patch)
treeb512429118360703a242b8bfcda6746e9c9a4800 /setup.py
parente1ffc2abbae4f2aa78dd09ee9827d754b7702b7b (diff)
parente3e7ff854038788d56d6d7f6624357b81341e876 (diff)
downloadpython-setuptools-git-a96ab21c5da30e71daa69f5b645097a86e8dc492.tar.gz
Merge pull request #2543 from pypa/bugfix/1996-no-bootstrap
Remove bootstrap script
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index 31eda0fb..f5cbff31 100755
--- a/setup.py
+++ b/setup.py
@@ -10,17 +10,6 @@ from setuptools.command.install import install
here = os.path.dirname(__file__)
-def require_metadata():
- "Prevent improper installs without necessary metadata. See #659"
- egg_info_dir = os.path.join(here, 'setuptools.egg-info')
- if not os.path.exists(egg_info_dir):
- msg = (
- "Cannot build setuptools without metadata. "
- "Run `bootstrap.py`."
- )
- raise RuntimeError(msg)
-
-
def read_commands():
command_ns = {}
cmd_module_path = 'setuptools/command/__init__.py'
@@ -170,5 +159,4 @@ setup_params = dict(
if __name__ == '__main__':
# allow setup.py to run from another directory
here and os.chdir(here)
- require_metadata()
dist = setuptools.setup(**setup_params)