summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-05-04 09:31:35 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-05-04 09:31:35 -0400
commita2bc4f69c7f6c2cec29123669ca6ae517277b67a (patch)
tree55fa084b388558b39917dac6fde56c5805e03522
parent1ced5f833688b3dd3116d9aacafdfb504ccfa950 (diff)
downloadpython-setuptools-git-a2bc4f69c7f6c2cec29123669ca6ae517277b67a.tar.gz
Restore install._install with a comment to capture its requirement on earlier NumPy versions. Fixes #199.
--HG-- extra : amend_source : a76d060c98e0048506e5aadddd675151db9d273c
-rw-r--r--CHANGES.txt7
-rw-r--r--setuptools/command/install.py4
2 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 0f531db9..a1d25194 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,13 @@
CHANGES
=======
+-----
+3.5.1
+-----
+
+* Issue #199: Restored ``install._install`` for compatibility with earlier
+ NumPy versions.
+
---
3.5
---
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index 3425dbf7..1f489734 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -6,6 +6,10 @@ import platform
import distutils.command.install as orig
from distutils.errors import DistutilsArgError
+# Prior to numpy 1.9, NumPy relies on the '_install' name, so provide it for
+# now. See https://bitbucket.org/pypa/setuptools/issue/199/
+_install = orig.install
+
class install(orig.install):
"""Use easy_install to install the package, w/dependencies"""