You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
643 B

# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
from setuptools import setup, Extension
ext_modules = [
Extension(
"lib_test",
["lib_test/lib_test.cc"],
include_dirs=['../../lib/lib_test',
'/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8',
'venv/lib/python3.8/site-packages/pybind11/include'],
extra_compile_args=['-std=c++11'],
libraries=['lib_test'],
library_dirs=['../../lib/lib_test/']
)
]
setup(
packages=['lib_test'],
ext_modules=ext_modules
)