-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
29 lines (24 loc) · 1.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env python
# -*- coding:utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
import numpy
from Cython.Distutils import build_ext
ext_modules = [
Extension("preimage.kernels._generic_string", ["preimage/kernels/_generic_string.pyx"],
include_dirs=[numpy.get_include()]),
Extension("preimage.inference.branch_and_bound", ["preimage/inference/branch_and_bound.pyx"],
include_dirs=[numpy.get_include()]),
Extension("preimage.inference.bound_calculator", ["preimage/inference/bound_calculator.pyx"],
include_dirs=[numpy.get_include()]),
Extension("preimage.inference.node", ["preimage/inference/node.pyx"],
include_dirs=[numpy.get_include()]),
Extension("preimage.inference.node_creator", ["preimage/inference/node_creator.pyx"],
include_dirs=[numpy.get_include()]),
Extension("preimage.features.gs_similarity_weights", ["preimage/features/gs_similarity_weights.pyx"],
include_dirs=[numpy.get_include()])
]
setup(
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules
)