mirror of
https://github.com/gwm17/catima.git
synced 2024-11-23 02:38:51 -05:00
23 lines
735 B
Python
23 lines
735 B
Python
|
from pybind11.setup_helpers import Pybind11Extension, build_ext
|
||
|
from setuptools import setup
|
||
|
|
||
|
SRC = [str(('${PROJECT_SOURCE_DIR}/pymodule/pycatima.cpp').resolve())]
|
||
|
example_module = Pybind11Extension(
|
||
|
'pycatima',
|
||
|
SRC,
|
||
|
include_dirs=['${PROJECT_BINARY_DIR}/include','${PROJECT_SOURCE_DIR}/global'],
|
||
|
library_dirs=['${PROJECT_BINARY_DIR}/lib','${PROJECT_BINARY_DIR}','${PROJECT_BINARY_DIR}/Release'],
|
||
|
libraries=['catima']
|
||
|
)
|
||
|
|
||
|
setup(
|
||
|
name='pycatima',
|
||
|
version=1.71,
|
||
|
author='Andrej Prochazka',
|
||
|
author_email='hrocho@vodacionline.sk',
|
||
|
description='python interface to catima library',
|
||
|
url='https://github.com/hrosiak/catima',
|
||
|
ext_modules=[example_module],
|
||
|
cmdclass={"build_ext": build_ext},
|
||
|
)
|