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.
 
 

27 lines
569 B

# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
from setuptools import setup, Extension
import pybind11
includes=[]
includes.append('../../lib/lib_test')
includes.append(pybind11.commands.get_include())
ext_modules = [
Extension(
"lib_test",
["lib_test/lib_test.cc"],
include_dirs=includes,
extra_compile_args=['-std=c++11'],
libraries=['lib_test'],
library_dirs=['../../lib/lib_test/']
)
]
setup(
packages=['lib_test'],
ext_modules=ext_modules
)