From a2bc4f69c7f6c2cec29123669ca6ae517277b67a Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 4 May 2014 09:31:35 -0400 Subject: Restore install._install with a comment to capture its requirement on earlier NumPy versions. Fixes #199. --HG-- extra : amend_source : a76d060c98e0048506e5aadddd675151db9d273c --- CHANGES.txt | 7 +++++++ setuptools/command/install.py | 4 ++++ 2 files changed, 11 insertions(+) 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""" -- cgit v1.2.1