-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
20 lines (17 loc) · 764 Bytes
/
Copy pathsetup.py
File metadata and controls
20 lines (17 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from distutils.core import setup, Extension
import numpy as np
from sysconfig import get_paths
#print("Python include paths : ", get_paths()['include'])
#print("Numpy include paths : ", np.get_include())
module1 = Extension('TemporalStability',
include_dirs=[get_paths()['include'],
np.get_include()],
#libraries = ['python'],
library_dirs=[get_paths()['stdlib']],
sources=['TS/TemporalStability.cpp',
'TS/RunLengthEncoding.cpp'],
language='c++')
setup(name='Temporal Stability',
version='1.0',
description='Temporal Stability function warpping package',
ext_modules=[module1])