forked from NeuralEnsemble/python-neo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·61 lines (56 loc) · 1.94 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
long_description = open("README.rst").read()
install_requires = ['packaging',
'numpy>=1.18.5',
'quantities>=0.12.1']
extras_require = {
'igorproio': ['igor'],
'kwikio': ['klusta'],
'neomatlabio': ['scipy>=1.0.0'],
'nixio': ['nixio>=1.5.0'],
'stimfitio': ['stfio'],
'tiffio': ['pillow'],
'edf': ['pyedflib'],
'ced': ['sonpy'],
'nwb': ['pynwb'],
'maxwell': ['h5py'],
'biocam': ['h5py'],
}
extras_require["all"] = sum(extras_require.values(), [])
# explicitly removing stfio from list of all as it is not pip installable
extras_require["all"].remove('stfio')
with open("neo/version.py") as fp:
d = {}
exec(fp.read(), d)
neo_version = d['version']
setup(
name="neo",
version=neo_version,
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
author="Neo authors and contributors",
author_email="[email protected]",
description="Neo is a package for representing electrophysiology data in "
"Python, together with support for reading a wide range of "
"neurophysiology file formats",
long_description=long_description,
license="BSD-3-Clause",
url='https://neuralensemble.org/neo',
python_requires=">=3.7",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering']
)