25 lines
694 B
Python
25 lines
694 B
Python
from distutils.core import setup
|
|
from distutils.extension import Extension
|
|
from Cython.Build import cythonize
|
|
|
|
extensions = Extension(
|
|
name="tdm_termite",
|
|
sources=["cython/py_tdm_termite.pyx"],
|
|
# libraries=[""],
|
|
# library_dirs=["lib"],
|
|
include_dirs=["lib","pugixml"],
|
|
language='c++',
|
|
extra_compile_args=['-std=c++17','-Wno-unused-variable'],
|
|
extra_link_args=['-std=c++17'],
|
|
)
|
|
|
|
setup(
|
|
version='0.1',
|
|
description='TDMtermite cython extension',
|
|
author='Record Evolution GmbH',
|
|
author_email='mario.fink@record-evolution.de',
|
|
url='https://github.com/RecordEvolution/TDMtermite.git',
|
|
name="tdm_termite",
|
|
ext_modules=cythonize(extensions)
|
|
)
|