aboutsummaryrefslogtreecommitdiffstats
path: root/ez_setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-02-16 10:15:58 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-02-16 10:15:58 -0500
commit3735dd9e689cd98d6ee45fcdac21d1f41c952a76 (patch)
tree0d5ebc10779691b69378b7c1c2db608980eeb77e /ez_setup.py
parentbd6fbd3fd8d4e5346a3464898cd3e303bc58f552 (diff)
downloadexternal_python_setuptools-3735dd9e689cd98d6ee45fcdac21d1f41c952a76.tar.gz
external_python_setuptools-3735dd9e689cd98d6ee45fcdac21d1f41c952a76.tar.bz2
external_python_setuptools-3735dd9e689cd98d6ee45fcdac21d1f41c952a76.zip
Update changelog
Diffstat (limited to 'ez_setup.py')
-rw-r--r--ez_setup.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 26e42998..4bd83580 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -134,15 +134,11 @@ def use_setuptools(
version=DEFAULT_VERSION, download_base=DEFAULT_URL,
to_dir=os.curdir, download_delay=15):
"""
- *deprecated* Download, install, and import Setuptools.
+ Ensure that a setuptools version is installed.
- Return None.
+ Return None. Raise SystemExit if the requested version
+ or later cannot be installed.
"""
- warnings.warn(
- "`use_setuptools` is deprecated. To enforce a specific "
- "version of setuptools, use `pkg_resources.require`.",
- DeprecationWarning,
- )
to_dir = os.path.abspath(to_dir)
# prior to importing, capture the module state for