diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-01-13 13:49:15 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-01-13 13:49:15 -0500 |
commit | e6087bfa308ee6b45c2c1906af1a7f4a177cb57b (patch) | |
tree | 5e9585b56b9dd5af692ec28ce217f75b8715fcfd /setuptools/command | |
parent | 767dcea007cf19b016c33f036f750c87b5876d1f (diff) | |
parent | 3c182f9f1eea89040fbfc88d1ccbed31ece6a00b (diff) | |
download | external_python_setuptools-e6087bfa308ee6b45c2c1906af1a7f4a177cb57b.tar.gz external_python_setuptools-e6087bfa308ee6b45c2c1906af1a7f4a177cb57b.tar.bz2 external_python_setuptools-e6087bfa308ee6b45c2c1906af1a7f4a177cb57b.zip |
Merge branch 'master' into feature/581-depend-not-bundle
Diffstat (limited to 'setuptools/command')
-rwxr-xr-x | setuptools/command/egg_info.py | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 2bc57b18..5ab54dc7 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -121,18 +121,13 @@ class egg_info(Command): user_options = [ ('egg-base=', 'e', "directory containing .egg-info directories" " (default: top of the source tree)"), - ('tag-svn-revision', 'r', - "Add subversion revision ID to version number"), ('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"), ('tag-build=', 'b', "Specify explicit tag to add to version number"), - ('no-svn-revision', 'R', - "Don't add subversion revision ID [default]"), ('no-date', 'D', "Don't include date stamp [default]"), ] - boolean_options = ['tag-date', 'tag-svn-revision'] + boolean_options = ['tag-date'] negative_opt = { - 'no-svn-revision': 'tag-svn-revision', 'no-date': 'tag-date', } @@ -146,10 +141,22 @@ class egg_info(Command): self.broken_egg_info = False self.vtags = None + #################################### + # allow the 'tag_svn_revision' to be detected and + # set, supporting sdists built on older Setuptools. + @property + def tag_svn_revision(self): + pass + + @tag_svn_revision.setter + def tag_svn_revision(self, value): + pass + #################################### + def save_version_info(self, filename): """ - Materialize the values of svn_revision and date into the - build tag. Install these keys in a deterministic order + Materialize the value of date into the + build tag. Install build keys in a deterministic order to avoid arbitrary reordering on subsequent builds. """ # python 2.6 compatibility |