Skip to content

Commit fc08800

Browse files
andreabedinijreback
authored andcommitted
BLD: Stop distributing ez_setup.py, #10168
The distributed version of ez_setup is few years out of date and the python packaging world is a fast moving target. Recent versions of Python 2 and 3 provide setuptools and pip out of the box. For other Python versions, we can point users to the official and up to date instructions at https://packaging.python.org/en/latest/installing.html
1 parent e13739a commit fc08800

File tree

3 files changed

+1
-270
lines changed

3 files changed

+1
-270
lines changed

doc/source/install.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ installed), make sure you have `nose
212212
Dependencies
213213
------------
214214

215+
* `setuptools <http://pythonhosted.org/setuptools>`__
215216
* `NumPy <http://www.numpy.org>`__: 1.7.0 or higher
216217
* `python-dateutil <http://labix.org/python-dateutil>`__ 1.5 or higher
217218
* `pytz <http://pytz.sourceforge.net/>`__

ez_setup.py

Lines changed: 0 additions & 264 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,8 @@
2727
except ImportError:
2828
_CYTHON_INSTALLED = False
2929

30-
# try bootstrapping setuptools if it doesn't exist
3130
try:
3231
import pkg_resources
33-
try:
34-
pkg_resources.require("setuptools>=0.6c5")
35-
except pkg_resources.VersionConflict:
36-
from ez_setup import use_setuptools
37-
use_setuptools(version="0.6c5")
3832
from setuptools import setup, Command
3933
_have_setuptools = True
4034
except ImportError:

0 commit comments

Comments
 (0)