diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-05-19 20:16:09 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-05-19 20:16:09 -0400 |
commit | 0c8a1cafe753fa44392b6afe8f056d2d84943cab (patch) | |
tree | a829e916dacf091cbb5c7f9b43b33d72df26a639 /setup.py | |
parent | f08262e5af7fa20898e3b0a1d449c9f4fb24aefb (diff) | |
download | python-setuptools-git-0c8a1cafe753fa44392b6afe8f056d2d84943cab.tar.gz |
Move list of commands out of command package and into package metadata.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -11,12 +11,12 @@ here = os.path.dirname(__file__) def read_commands(): - command_ns = {} - cmd_module_path = 'setuptools/command/__init__.py' - init_path = os.path.join(here, cmd_module_path) - with open(init_path) as init_file: - exec(init_file.read(), command_ns) - return command_ns['__all__'] + 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( |