diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-02 12:26:44 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-02 12:26:44 -0400 |
| commit | e85ad92f72239d12ede4e5755f84ffef01877032 (patch) | |
| tree | 37e6e0a0a73d4ba7adf7b3a2a70342d6deb95310 /setuptools/command/egg_info.py | |
| parent | 54325a753f688285c71a6db0a062116e6dc6976c (diff) | |
| parent | 94d97d07df600cca0d51703b13297b73f5b1d9d0 (diff) | |
| download | python-setuptools-git-e85ad92f72239d12ede4e5755f84ffef01877032.tar.gz | |
Merge with 23.2.1
Diffstat (limited to 'setuptools/command/egg_info.py')
| -rwxr-xr-x | setuptools/command/egg_info.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 8e1502a5..5183eedc 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -52,8 +52,10 @@ class egg_info(Command): ] boolean_options = ['tag-date', 'tag-svn-revision'] - negative_opt = {'no-svn-revision': 'tag-svn-revision', - 'no-date': 'tag-date'} + negative_opt = { + 'no-svn-revision': 'tag-svn-revision', + 'no-date': 'tag-date', + } def initialize_options(self): self.egg_name = None @@ -197,6 +199,10 @@ class egg_info(Command): if self.tag_build: version += self.tag_build if self.tag_svn_revision: + warnings.warn( + "tag_svn_revision is deprecated and will not be honored " + "in a future release" + ) version += '-r%s' % self.get_svn_revision() if self.tag_date: version += time.strftime("-%Y%m%d") |
