forked from nipreps/fmriprep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (29 loc) · 853 Bytes
/
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
30
31
32
33
34
35
36
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: oesteban
# @Date: 2015-11-19 16:44:27
""" fmriprep setup script """
def main():
""" Install entry-point """
from setuptools import setup
from setuptools.extension import Extension
from numpy import get_include
from fmriprep.__about__ import __version__, DOWNLOAD_URL
import versioneer
cmdclass = versioneer.get_cmdclass()
extensions = [Extension(
"fmriprep.utils.maths",
["fmriprep/utils/maths.pyx"],
include_dirs=[get_include(), "/usr/local/include/"],
library_dirs=["/usr/lib/"]),
]
setup(
version=__version__,
cmdclass=cmdclass,
download_url=DOWNLOAD_URL,
# Dependencies handling
zip_safe=False,
ext_modules=extensions,
)
if __name__ == '__main__':
main()