diff options
| author | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2006-07-10 20:04:48 +0000 |
|---|---|---|
| committer | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2006-07-10 20:04:48 +0000 |
| commit | 0b786ab21049fb2608ce12b7a2283844449c8fa3 (patch) | |
| tree | b1c172954cd778be73ac3144680c739997c674ff /setuptools/command | |
| parent | 042237452ed9d534f7d6ae99c1908db390db8e56 (diff) | |
| download | python-setuptools-0b786ab21049fb2608ce12b7a2283844449c8fa3.tar.gz | |
Fix "register" command not necessarily reflecting build tags.
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@50533 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/__init__.py | 1 | ||||
| -rwxr-xr-x | setuptools/command/register.py | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/setuptools/command/__init__.py b/setuptools/command/__init__.py index bff53e7..abdb086 100644 --- a/setuptools/command/__init__.py +++ b/setuptools/command/__init__.py @@ -2,6 +2,7 @@ __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', + 'register', ] import sys diff --git a/setuptools/command/register.py b/setuptools/command/register.py new file mode 100755 index 0000000..3b2e085 --- /dev/null +++ b/setuptools/command/register.py @@ -0,0 +1,10 @@ +from distutils.command.register import register as _register + +class register(_register): + __doc__ = _register.__doc__ + + def run(self): + # Make sure that we are using valid current name/version info + self.run_command('egg_info') + _register.run(self) + |
