chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19240dd
)
fixes to windows setup.py; thanks to Robert G for the patch
author
stevenj
<stevenj@alum.mit.edu>
Tue, 22 Mar 2011 20:13:00 +0000
(16:13 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Tue, 22 Mar 2011 20:13:00 +0000
(16:13 -0400)
darcs-hash:
20110322201300
-c8de0-
7caeb9ab8e893d3c8ec0be13c96959be1234c8d0
.gz
BUILD-MINGW.sh
patch
|
blob
|
history
diff --git
a/BUILD-MINGW.sh
b/BUILD-MINGW.sh
index 11712eaf44adca119b60900a63fec78d94b446f5..142ee57165f22bcc6b5a243029d6e77b1957db68 100755
(executable)
--- 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