summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-06-24 10:17:41 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-06-24 10:17:41 -0400
commit542a921bb6943feb1c90874ba5151c94622b52b3 (patch)
tree393acc4af8e8a88c555f0147ec8c5e5adf6487b9 /setuptools/command/egg_info.py
parent3cee4d8f79a20f1d67b194ee383dddd826695e0d (diff)
downloadpython-setuptools-git-542a921bb6943feb1c90874ba5151c94622b52b3.tar.gz
Mark tag_svn_revision as deprecated. Ref #619.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 829f03f9..5183eedc 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -199,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")