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

Add a no-op property for 'tag_svn_revision' to suppress errors when distutils...

Add a no-op property for 'tag_svn_revision' to suppress errors when distutils attempts to detect and set these values based on settings in setup.cfg as found in sdists built by earlier versions of setuptools. Ref #619.
parent dc8683bd
...@@ -141,6 +141,18 @@ class egg_info(Command): ...@@ -141,6 +141,18 @@ class egg_info(Command):
self.broken_egg_info = False self.broken_egg_info = False
self.vtags = None 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): def save_version_info(self, filename):
""" """
Materialize the value of date into the Materialize the value of date into the
......
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