summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-05-19 20:25:56 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-05-19 20:25:56 -0400
commitaefb4ba8c744b31a26f8bf4fbe0c47d7cf25488e (patch)
tree0585541ac55c044fc32b07552f2e86d6486482a1 /setup.py
parent0c8a1cafe753fa44392b6afe8f056d2d84943cab (diff)
downloadpython-setuptools-git-aefb4ba8c744b31a26f8bf4fbe0c47d7cf25488e.tar.gz
Materialize the distutils.commands.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py31
1 files changed, 20 insertions, 11 deletions
diff --git a/setup.py b/setup.py
index 4cc75294..82dacea5 100755
--- a/setup.py
+++ b/setup.py
@@ -10,15 +10,6 @@ from setuptools.command.install import install
here = os.path.dirname(__file__)
-def read_commands():
- return [
- 'alias', 'bdist_egg', 'bdist_rpm', 'build_ext', 'build_py', 'develop',
- 'easy_install', 'egg_info', 'install', 'install_lib', 'rotate', 'saveopts',
- 'sdist', 'setopt', 'test', 'install_egg_info', 'install_scripts',
- 'upload_docs', 'build_clib', 'dist_info',
- ]
-
-
package_data = dict(
setuptools=['script (dev).tmpl', 'script.tmpl', 'site-patch.py'],
)
@@ -98,8 +89,26 @@ setup_params = dict(
package_data=package_data,
entry_points={
"distutils.commands": [
- "%(cmd)s = setuptools.command.%(cmd)s:%(cmd)s" % locals()
- for cmd in read_commands()
+ "alias = setuptools.command.alias:alias",
+ "bdist_egg = setuptools.command.bdist_egg:bdist_egg",
+ "bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm",
+ "build_clib = setuptools.command.build_clib:build_clib",
+ "build_ext = setuptools.command.build_ext:build_ext",
+ "build_py = setuptools.command.build_py:build_py",
+ "develop = setuptools.command.develop:develop",
+ "dist_info = setuptools.command.dist_info:dist_info",
+ "easy_install = setuptools.command.easy_install:easy_install",
+ "egg_info = setuptools.command.egg_info:egg_info",
+ "install = setuptools.command.install:install",
+ "install_egg_info = setuptools.command.install_egg_info:install_egg_info",
+ "install_lib = setuptools.command.install_lib:install_lib",
+ "install_scripts = setuptools.command.install_scripts:install_scripts",
+ "rotate = setuptools.command.rotate:rotate",
+ "saveopts = setuptools.command.saveopts:saveopts",
+ "sdist = setuptools.command.sdist:sdist",
+ "setopt = setuptools.command.setopt:setopt",
+ "test = setuptools.command.test:test",
+ "upload_docs = setuptools.command.upload_docs:upload_docs",
],
"setuptools.finalize_distribution_options": [
"parent_finalize = setuptools.dist:_Distribution.finalize_options",