summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-01-19 20:37:26 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-01-19 20:40:04 -0500
commit183a306ef87fd15df27dc4327182a944033ea3a0 (patch)
tree5774e85956c06f7d82860483ae8de0a17d28e4a5 /setup.py
parent8222d6f7b992d3b184434acb31cd66b0f2e41401 (diff)
downloadpython-setuptools-git-183a306ef87fd15df27dc4327182a944033ea3a0.tar.gz
Remove bootstrap and tox-pip and instead rely on pep517.
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 28d3dada..378fda14 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'
@@ -189,5 +178,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)