-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
19 lines (13 loc) · 836 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from distutils.extension import Extension
from distutils.core import setup
from Cython.Build import cythonize
extensions = [Extension("PythonGedLib",
sources=["PythonGedLib.pyx", "src/GedLibBind.cpp"],
include_dirs=["include","include/lsape", "include/Eigen", "include/nomad", "include/sgtelib", "include/libsvm.3.22", "include/fann", "include/boost_1_69_0"],
library_dirs=["lib/fann","lib/gedlib", "lib/libsvm.3.22","lib/nomad"],
libraries=["doublefann","sgtelib", "svm", "nomad"],
language="c++",
extra_compile_args=["-std=c++11"],
extra_link_args=["-std=c++11"])]
setup(ext_modules=cythonize(extensions))
# Commande Bash : python setup.py build_ext --inplace