]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blob - zfec/setuptools-0.6c15dev.egg/setuptools/command/__init__.py
setup: install_requires argparse only if Python version is < 2.7
[tahoe-lafs/zfec.git] / zfec / setuptools-0.6c15dev.egg / setuptools / command / __init__.py
1 __all__ = [
2     'alias', 'bdist_egg', 'bdist_rpm', 'build_ext', 'build_py', 'develop',
3     'easy_install', 'egg_info', 'install', 'install_lib', 'rotate', 'saveopts',
4     'sdist', 'setopt', 'test', 'upload', 'install_egg_info', 'install_scripts',
5     'register', 'bdist_wininst',
6 ]
7
8 import sys
9 if sys.version>='2.5':
10     # In Python 2.5 and above, distutils includes its own upload command
11     __all__.remove('upload')
12
13
14 from distutils.command.bdist import bdist
15
16 if 'egg' not in bdist.format_commands:
17     bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
18     bdist.format_commands.append('egg')
19
20 del bdist, sys