| 1 |
--- obitools.orig/setup.py |
| 2 |
+++ obitools/setup.py |
| 3 |
@@ -125,16 +125,12 @@ |
| 4 |
cython_ext = [Extension('.'.join([os.path.dirname(x).replace("python/",""), |
| 5 |
os.path.splitext(os.path.basename(x))[0]]).replace('/','.'), |
| 6 |
[x], |
| 7 |
- library_dirs=[get_python_lib()], |
| 8 |
+ library_dirs=[get_python_lib(), os.getcwd()], |
| 9 |
include_dirs=["src","src/libecoPCR","src/libjson"], |
| 10 |
libraries=["cobitools3"], |
| 11 |
- runtime_library_dirs=[get_python_lib()], |
| 12 |
extra_compile_args=['-w', |
| 13 |
'-fPIC' |
| 14 |
], |
| 15 |
- extra_link_args=["-Wl,-rpath,"+get_python_lib(), |
| 16 |
- "-L"+os.getcwd() |
| 17 |
- ] |
| 18 |
) |
| 19 |
for x in cython_src |
| 20 |
] |