-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (21 loc) · 704 Bytes
/
setup.py
File metadata and controls
29 lines (21 loc) · 704 Bytes
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
#Use :
# - to install
# python3 setup.py install
# - to create tar.gz for distribution :
# python3 setup.py sdist
# - to build in place
# python3 setup.py build_ext --inplace
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
extensions = [
Extension("rf.Geodesic", sources= ["rf/Geodesic.pyx"])
]
setup(
name='rf',
version='2.2',
cmdclass = {'build_ext':build_ext},
ext_modules = extensions,
py_modules=['rf','rf.Splitter', 'rf.Criterion', 'rf.FeatureFunction', 'rf.TrainSamples', 'rf.Forest', 'rf.DecisionTree', 'rf.tree', 'rf.Jungle'],
scripts=['scripts/run_jungle.py', 'scripts/run_all_jungles.py']
)