-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (24 loc) · 707 Bytes
/
setup.py
File metadata and controls
26 lines (24 loc) · 707 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
26
#
"""
Run using :
python setup.py build_ext --build-lib smfsmodels
"""
import sys
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
extension = [
Extension("smfsmodels/cossio", ["smfsmodels/cossio.pyx"]
),
Extension("smfsmodels/schutte", ["smfsmodels/schutte.pyx"]
)
]
setup(
name='smfs',
url='https://github.com/daviddesancho/smFSmodels',
author='David De Sancho',
author_email='daviddesancho.at.gmail.com',
license='MIT',
ext_modules = cythonize(["smfsmodels/*.pyx"], \
compiler_directives={'language_level' : sys.version_info[0]})
)