Commit dc8683bd authored by Jason R. Coombs's avatar Jason R. Coombs

More aggressively remove references to 'tag_svn_revision' option in egg_info. Ref #619.

parent 1397064f
...@@ -8,7 +8,7 @@ tag_build = .post ...@@ -8,7 +8,7 @@ tag_build = .post
tag_date = 1 tag_date = 1
[aliases] [aliases]
clean_egg_info = egg_info -RDb '' clean_egg_info = egg_info -Db ''
release = clean_egg_info sdist bdist_wheel release = clean_egg_info sdist bdist_wheel
source = register sdist binary source = register sdist binary
binary = bdist_egg upload --show-response binary = bdist_egg upload --show-response
......
...@@ -121,18 +121,13 @@ class egg_info(Command): ...@@ -121,18 +121,13 @@ class egg_info(Command):
user_options = [ user_options = [
('egg-base=', 'e', "directory containing .egg-info directories" ('egg-base=', 'e', "directory containing .egg-info directories"
" (default: top of the source tree)"), " (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-date', 'd', "Add date stamp (e.g. 20050528) to version number"),
('tag-build=', 'b', "Specify explicit tag to add 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]"), ('no-date', 'D', "Don't include date stamp [default]"),
] ]
boolean_options = ['tag-date', 'tag-svn-revision'] boolean_options = ['tag-date']
negative_opt = { negative_opt = {
'no-svn-revision': 'tag-svn-revision',
'no-date': 'tag-date', 'no-date': 'tag-date',
} }
...@@ -148,8 +143,8 @@ class egg_info(Command): ...@@ -148,8 +143,8 @@ class egg_info(Command):
def save_version_info(self, filename): def save_version_info(self, filename):
""" """
Materialize the values of svn_revision and date into the Materialize the value of date into the
build tag. Install these keys in a deterministic order build tag. Install build keys in a deterministic order
to avoid arbitrary reordering on subsequent builds. to avoid arbitrary reordering on subsequent builds.
""" """
# python 2.6 compatibility # python 2.6 compatibility
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment