summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-02-17 11:47:25 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-02-17 11:47:25 +0000
commit38d444794b0e3aad56775ab20fdce9477b7ae08c (patch)
tree4c6254de20d4cdd1f11aab374f98083cbcc872e7 /numpy/core/setup.py
parentf5c567829148bd57370fa7e7e6e053cded657c46 (diff)
downloadnumpy-38d444794b0e3aad56775ab20fdce9477b7ae08c.tar.gz
Add patch from BSD to get cygwin working.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 27c06ecbf..4ca6672e6 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -151,10 +151,16 @@ def configuration(parent_package='',top_path=None):
join('src','_isnan.c'),
join('src','ucsnarrow.c'),
join('include','numpy','*object.h'),
+ join('include','fenv.c'),
+ join('include','fenv.h'),
join(codegen_dir,'genapi.py'),
join(codegen_dir,'*.txt')
]
+ # Don't install fenv unless we need them.
+ if sys.platform == 'cygwin':
+ config.add_data_files(join('include','fenv.*'))
+
config.add_extension('multiarray',
sources = [join('src','multiarraymodule.c'),
generate_config_h,