Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
dc8683bd
Commit
dc8683bd
authored
Jan 02, 2017
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More aggressively remove references to 'tag_svn_revision' option in egg_info. Ref #619.
parent
1397064f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
setup.cfg
setup.cfg
+1
-1
setuptools/command/egg_info.py
setuptools/command/egg_info.py
+3
-8
No files found.
setup.cfg
View file @
dc8683bd
...
...
@@ -8,7 +8,7 @@ tag_build = .post
tag_date = 1
[aliases]
clean_egg_info = egg_info -
R
Db ''
clean_egg_info = egg_info -Db ''
release = clean_egg_info sdist bdist_wheel
source = register sdist binary
binary = bdist_egg upload --show-response
...
...
setuptools/command/egg_info.py
View file @
dc8683bd
...
...
@@ -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
',
}
...
...
@@ -148,8 +143,8 @@ class egg_info(Command):
def save_version_info(self, filename):
"""
Materialize the value
s 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment