forked from amennen/rtAttenPenn
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
62 lines (58 loc) · 1.67 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import setup, find_packages, Extension
from setuptools.command.build_ext import build_ext as _build_ext
class build_ext(_build_ext):
def finalize_options(self):
super().finalize_options()
# Prevent numpy from thinking it is still in its setup process:
__builtins__.__NUMPY_SETUP__ = False
import numpy
self.include_dirs.append(numpy.get_include())
setup(
name='rtfMRI',
version='0.0.1',
setup_requires=[
'cython',
'numpy',
'pytest'
],
install_requires=[
'cython',
'pybind11',
'numpy',
'scipy',
'sklearn',
'pydicom',
'toml',
'watchdog',
'ipython',
'jupyter',
'pytest',
'flake8',
'mypy',
'click',
'clickutil',
'brainiak'
],
extras_require={},
author='Princeton Neuroscience Institute and Intel Corporation',
author_email='[email protected]',
url='https://github.com/brainiak/rtAttenPenn',
description='Brain Imaging Analysis Kit Cloud',
license='Apache 2',
keywords='neuroscience, algorithm, fMRI, distributed, scalable',
cmdclass={'build_ext': build_ext},
packages=find_packages(),
ext_modules=[
Extension('rtAttenPy_v0.highpass', [
'rtAttenPy_v0/highpass.pyx'], include_dirs=['.']),
Extension('rtAtten.highpass', [
'rtAtten/highpass.pyx'], include_dirs=['.'])
],
python_requires='>=3.4',
options={'build_ext': {'inplace': True, 'force': True}},
entry_points='''
[console_scripts]
client=ClientMain
server=ServerMain:_ServerMain
'''
)