diff --git a/pymodule/setup.py b/pymodule/setup.py index 6579e45..32fdaae 100644 --- a/pymodule/setup.py +++ b/pymodule/setup.py @@ -5,14 +5,16 @@ from setuptools import setup DIR = Path(__file__).parents[0] -SRC = [str(DIR/'pycatima.cpp')]+[str(fname.resolve()) for fname in DIR.glob('../*.cpp')] -SRCG = [str(fname.resolve()) for fname in DIR.glob('../global/*.c')] -SRC += SRCG +SRC = [str((DIR/'pycatima.cpp').resolve())]#+[str(fname.resolve()) for fname in DIR.glob('../*.cpp')] +#SRCG = [str(fname.resolve()) for fname in DIR.glob('../global/*.c')] +#SRC += SRCG print (SRC) example_module = Pybind11Extension( 'pycatima', SRC, - include_dirs=['../build/include','../global'] + include_dirs=['../build/include','../global'], + library_dirs=['../build/lib','../build'], + libraries=['catima'] ) setup(