From 12cd6d78b64c216bb78dfc0a50c44bc16cf170ed Mon Sep 17 00:00:00 2001 From: stevenj Date: Tue, 22 Mar 2011 16:13:00 -0400 Subject: [PATCH] fixes to windows setup.py; thanks to Robert G for the patch darcs-hash:20110322201300-c8de0-7caeb9ab8e893d3c8ec0be13c96959be1234c8d0.gz --- BUILD-MINGW.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD-MINGW.sh b/BUILD-MINGW.sh index 11712ea..142ee57 100755 --- a/BUILD-MINGW.sh +++ b/BUILD-MINGW.sh @@ -56,12 +56,14 @@ nlopt_module = Extension('_nlopt', sources=['nlopt-python.cpp'], libraries=['libnlopt-0'], ) +import numpy setup (name = 'nlopt', version = '${nlopt_vers}', author = "Steven G. Johnson", description = """NLopt nonlinear-optimization library""", ext_modules = [nlopt_module], py_modules = ["nlopt"], + include_dirs = ['.', numpy.get_include()], ) EOF -- 2.30.2