diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-09 03:51:59 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-09 03:51:59 -0500 |
| commit | ebaf4f2547e71247248abc77f9899e2106482646 (patch) | |
| tree | 02b0a8d51d389b9a7c0ed0342dd63ad9427e0d6e /setuptools/command/egg_info.py | |
| parent | 1265c31f954afe7a1e47edc6dddfe7a5d4c9aa2a (diff) | |
| download | python-setuptools-git-ebaf4f2547e71247248abc77f9899e2106482646.tar.gz | |
Deprecate get_pkg_info_revision
Diffstat (limited to 'setuptools/command/egg_info.py')
| -rwxr-xr-x | setuptools/command/egg_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 57e89c07..3afd0a45 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -11,6 +11,7 @@ import os import re import sys import io +import warnings try: from setuptools_svn import svn_utils @@ -472,6 +473,7 @@ def get_pkg_info_revision(): Get a -r### off of PKG-INFO Version in case this is an sdist of a subversion revision. """ + warnings.warn("get_pkg_info_revision is deprecated.", DeprecationWarning) if os.path.exists('PKG-INFO'): with io.open('PKG-INFO') as f: for line in f: |
