summaryrefslogtreecommitdiff
path: root/setuptools/command/__init__.py
diff options
context:
space:
mode:
authorguyroz <none@none>2011-09-20 16:40:58 +0300
committerguyroz <none@none>2011-09-20 16:40:58 +0300
commit4f5c1303ca73fdb1860bf00ee9a37a2c1b6fe294 (patch)
tree846bc5fe1474efaf9c544271e9a8502f16eeed71 /setuptools/command/__init__.py
parent51e06f7936437e869dd4ad29f052435e3d814e61 (diff)
downloadpython-setuptools-git-4f5c1303ca73fdb1860bf00ee9a37a2c1b6fe294.tar.gz
Issue #244 raises ValueError in upload and register commands if using a section without a repository value
--HG-- branch : distribute extra : rebase_source : e57437a8ac03832ed8170c902996423a27235856
Diffstat (limited to 'setuptools/command/__init__.py')
-rw-r--r--setuptools/command/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/setuptools/command/__init__.py b/setuptools/command/__init__.py
index 152406b3..a601e2d3 100644
--- a/setuptools/command/__init__.py
+++ b/setuptools/command/__init__.py
@@ -8,13 +8,8 @@ __all__ = [
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:
bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
bdist.format_commands.append('egg')