Skip to content

Commit

Permalink
Revise fix for numpy issue during installation - only need install_re…
Browse files Browse the repository at this point in the history
…quires and setup_requires
  • Loading branch information
timothy rudge authored and timothy rudge committed Feb 10, 2015
1 parent fd131f4 commit c3d458f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions 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():
Expand Down Expand Up @@ -214,7 +205,7 @@ def main():
],

install_requires=[
"numpy",
"numpy",
"pytools>=2014.2",
"pytest>=2",
"decorator>=3.2.0",
Expand Down

0 comments on commit c3d458f

Please sign in to comment.