diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-24 16:04:34 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-24 16:04:34 -0500 |
commit | 39dd5934be0a44d1f0452975a17784bddb276a82 (patch) | |
tree | 57b9c1d3cc013ead947922cadfba5c1c9297d6fa /setuptools/command/__init__.py | |
parent | 2833cdcce09e10448c5a7846a58bdc22f0021b93 (diff) | |
download | external_python_setuptools-39dd5934be0a44d1f0452975a17784bddb276a82.tar.gz external_python_setuptools-39dd5934be0a44d1f0452975a17784bddb276a82.tar.bz2 external_python_setuptools-39dd5934be0a44d1f0452975a17784bddb276a82.zip |
Remove upload command (no longer relevant on Python 2.6+
Diffstat (limited to 'setuptools/command/__init__.py')
-rw-r--r-- | setuptools/command/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/setuptools/command/__init__.py b/setuptools/command/__init__.py index b063fa19..29c9d75a 100644 --- a/setuptools/command/__init__.py +++ b/setuptools/command/__init__.py @@ -1,17 +1,13 @@ __all__ = [ 'alias', 'bdist_egg', 'bdist_rpm', 'build_ext', 'build_py', 'develop', 'easy_install', 'egg_info', 'install', 'install_lib', 'rotate', 'saveopts', - 'sdist', 'setopt', 'test', 'upload', 'install_egg_info', 'install_scripts', + 'sdist', 'setopt', 'test', 'install_egg_info', 'install_scripts', 'register', 'bdist_wininst', 'upload_docs', ] from setuptools.command import install_scripts import sys -if sys.version>='2.5': - # In Python 2.5 and above, distutils includes its own upload command - __all__.remove('upload') - from distutils.command.bdist import bdist if 'egg' not in bdist.format_commands: |