Menu

#4 Python binding will build failed

open
nobody
None
5
2010-06-21
2010-06-21
LI Daobing
No

Python binding is built with the libzinnia in system path (should use the libzinnia in current build environment), and if libzinnia has never been installed, python binding will built failed.

following patch will resolve this problem.

--- zinnia-0.06.orig/python/setup.py
+++ zinnia-0.06/python/setup.py
@@ -7,5 +7,7 @@ setup(name = "zinnia-python",
py_modules=["zinnia"],
ext_modules = [Extension("_zinnia",
["zinnia_wrap.cxx",],
+ include_dirs=[".."],
+ library_dirs=["../.libs"],
libraries=["zinnia"])
])

Discussion


Log in to post a comment.