aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-02-02 16:08:55 -0500
committerGitHub <noreply@github.com>2017-02-02 16:08:55 -0500
commitc109b93ec8aa611867e34966a009955fe7d48183 (patch)
tree836dbdeeb5b40e418e618684d3c619bd9415f444
parent4d90b6d75a68dc3e18a0b858c7e194955c0771db (diff)
parent72b031f2d097b29b63b7fe023abaa5edde73a505 (diff)
downloadexternal_python_setuptools-c109b93ec8aa611867e34966a009955fe7d48183.tar.gz
external_python_setuptools-c109b93ec8aa611867e34966a009955fe7d48183.tar.bz2
external_python_setuptools-c109b93ec8aa611867e34966a009955fe7d48183.zip
Merge pull request #959 from idgserpro/bootstrap
Refs for self upgrade/installation deprecation
-rwxr-xr-xez_setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 2e41ddee..d15ce1da 100755
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -6,6 +6,8 @@ Setuptools bootstrapping installer.
Maintained at https://github.com/pypa/setuptools/tree/bootstrap.
Run this script to install or upgrade setuptools.
+
+This method is DEPRECATED. Check https://github.com/pypa/setuptools/issues/581 for more details.
"""
import os
@@ -32,6 +34,7 @@ try:
except ImportError:
USER_SITE = None
+# 33.1.1 is the last version that supports setuptools self upgrade/installation.
DEFAULT_VERSION = "33.1.1"
DEFAULT_URL = "https://pypi.io/packages/source/s/setuptools/"
DEFAULT_SAVE_DIR = os.curdir
@@ -406,5 +409,5 @@ def main():
return _install(archive, _build_install_args(options))
if __name__ == '__main__':
- warnings.warn("ez_setup.py is deprecated; use pip to install setuptools")
+ warnings.warn("ez_setup.py is deprecated, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools")
sys.exit(main())