forked from flatironinstitute/CaImAn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·58 lines (49 loc) · 2.1 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
from setuptools import setup, find_packages
from os import path
import numpy as np
from Cython.Build import cythonize
from setuptools.extension import Extension
"""
Installation script for anaconda installers
"""
here = path.abspath(path.dirname(__file__))
with open('README.md', 'r') as rmf:
readme = rmf.read()
# compile with: python setup.py build_ext -i
# clean up with: python setup.py clean --all
ext_modules = [Extension("caiman.source_extraction.cnmf.oasis",
sources=["caiman/source_extraction/cnmf/oasis.pyx"],
include_dirs=[np.get_include()],
language="c++")]
setup(
name='caiman',
version='1.0',
author='Andrea Giovannucci, Eftychios Pnevmatikakis, Johannes Friedrich, Valentina Staneva, Ben Deverett, Erick Cobos, Jeremie Kalfon',
author_email='[email protected]',
url='https://github.com/simonsfoundation/CaImAn',
license='GPL-2',
description='Advanced algorithms for ROI detection and deconvolution of Calcium Imaging datasets.',
long_description=readme,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Researchers',
'Topic :: Calcium Imaging :: Analysis Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GPL-2 License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2,3',
],
keywords='fluorescence calcium ca imaging deconvolution ROI identification',
packages=find_packages(exclude=['use_cases', 'use_cases.*']),
data_files=[('', ['LICENSE.txt']),
('', ['README.md'])],
install_requires=[''],
ext_modules=cythonize(ext_modules)
)