mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Properly build and install the python tools in BINDIR/ext_build/python. Specify more dependencies.
This commit is contained in:
parent
a1b3fa7290
commit
fb98f89679
5 changed files with 21 additions and 14 deletions
|
@ -2,6 +2,9 @@ from distutils.core import setup
|
|||
from distutils.extension import Extension
|
||||
from Cython.Distutils import build_ext
|
||||
import numpy as np
|
||||
import os
|
||||
|
||||
VOID_GSL=os.environ.get('VOID_GSL')
|
||||
|
||||
setup(
|
||||
name='void_python_tools',
|
||||
|
@ -15,6 +18,6 @@ setup(
|
|||
ext_modules = [
|
||||
Extension("void_python_tools.apTools.chi2.velocityProfileFitNative",
|
||||
["void_python_tools/apTools/chi2/velocityProfileFitNative.pyx"],
|
||||
libraries=["gsl", "gslcblas"])
|
||||
libraries=["gsl", "gslcblas"], library_dirs=[VOID_GSL+"/lib"], include_dirs=[VOID_GSL+"/include"])
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue