From c3d458f3fbef469fca653e10fef76bf13a4ef982 Mon Sep 17 00:00:00 2001 From: timothy rudge <tjr34@timothys-MacBook-Pro.local> Date: Tue, 10 Feb 2015 21:37:11 +0000 Subject: [PATCH] Revise fix for numpy issue during installation - only need install_requires and setup_requires --- setup.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/setup.py b/setup.py index f51ff574..fbdbed4e 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,5 @@ #!/usr/bin/env python # -*- coding: latin-1 -*- -from setuptools.command.build_ext import build_ext as _build_ext - -class build_ext(_build_ext): - def finalize_options(self): - _build_ext.finalize_options(self) - # Prevent numpy from thinking it is still in its setup process: - __builtins__.__NUMPY_SETUP__ = False - import numpy - self.include_dirs.append(numpy.get_include()) def get_config_schema(): @@ -214,7 +205,7 @@ def main(): ], install_requires=[ - "numpy", + "numpy", "pytools>=2014.2", "pytest>=2", "decorator>=3.2.0", -- GitLab