diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-01-02 09:56:47 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-01-02 09:56:47 -0500 |
commit | b848627d17328cab9bdce4fabd314c76d5f7d96e (patch) | |
tree | d4b691734bce82da0fca78beb758c9ddfcd7a56d | |
parent | dc8683bd8e8600680a7581fd3a2d34ba8f1fa0ab (diff) | |
download | external_python_setuptools-b848627d17328cab9bdce4fabd314c76d5f7d96e.tar.gz external_python_setuptools-b848627d17328cab9bdce4fabd314c76d5f7d96e.tar.bz2 external_python_setuptools-b848627d17328cab9bdce4fabd314c76d5f7d96e.zip |
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.
-rwxr-xr-x | setuptools/command/egg_info.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index e3578074..ca6a4348 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -141,6 +141,18 @@ class egg_info(Command): self.broken_egg_info = False 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): """ Materialize the value of date into the |