mirror of
https://github.com/gwm17/catima.git
synced 2024-11-22 18:28:51 -05:00
setup.py
This commit is contained in:
parent
84a49679a9
commit
62e5028887
|
@ -5,14 +5,16 @@ from setuptools import setup
|
||||||
|
|
||||||
DIR = Path(__file__).parents[0]
|
DIR = Path(__file__).parents[0]
|
||||||
|
|
||||||
SRC = [str(DIR/'pycatima.cpp')]+[str(fname.resolve()) for fname in DIR.glob('../*.cpp')]
|
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')]
|
#SRCG = [str(fname.resolve()) for fname in DIR.glob('../global/*.c')]
|
||||||
SRC += SRCG
|
#SRC += SRCG
|
||||||
print (SRC)
|
print (SRC)
|
||||||
example_module = Pybind11Extension(
|
example_module = Pybind11Extension(
|
||||||
'pycatima',
|
'pycatima',
|
||||||
SRC,
|
SRC,
|
||||||
include_dirs=['../build/include','../global']
|
include_dirs=['../build/include','../global'],
|
||||||
|
library_dirs=['../build/lib','../build'],
|
||||||
|
libraries=['catima']
|
||||||
)
|
)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user