mirror of
https://github.com/gwm17/catima.git
synced 2024-11-22 10:18:50 -05:00
27 lines
696 B
Python
27 lines
696 B
Python
from pathlib import Path
|
|
|
|
from pybind11.setup_helpers import Pybind11Extension, build_ext
|
|
from setuptools import setup
|
|
|
|
DIR = Path(__file__).parents[0]
|
|
|
|
SRC = [str((DIR/'pycatima.cpp').resolve())]
|
|
example_module = Pybind11Extension(
|
|
'pycatima',
|
|
SRC,
|
|
include_dirs=['../build/include','../global'],
|
|
library_dirs=['../build/lib','../build','../build/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},
|
|
)
|