-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
57 lines (52 loc) · 1.95 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
def find_version():
try:
f = open(os.path.join('spykeutils', '__init__.py'), 'r')
try:
for line in f:
if line.startswith('__version__'):
rval = line.split()[-1][1:-1]
break
finally:
f.close()
except Exception:
rval = '0'
return rval
DESC = """Based on the `Neo <http://packages.python.org/neo/>`_ framework,
spykeutils is a Python library for analyzing and plotting data from
neurophysiological recordings or simulations. It can be used by itself or
in conjunction with Spyke Viewer, a multi-platform GUI application for
navigating electrophysiological datasets.
For more information, see the documentation at
http://spykeutils.readthedocs.org"""
if __name__ == "__main__":
setup(
name="spykeutils",
version=find_version(),
packages=find_packages(),
install_requires=['scipy', 'quantities', 'neo>=0.2.1,<0.4'],
extras_require={
'plot': ['guiqwt>=2.1.4,<4.0'],
'plugin': ['tables'],
'quality_estimation': ['scikit-learn>=0.11']
},
entry_points={
'console_scripts':
['spykeplugin = spykeutils.plugin.startplugin:main']
},
author='Robert Pröpper',
maintainer='Robert Pröpper',
description='Utilities for analyzing electrophysiological data',
long_description=DESC,
license='BSD',
url='https://github.com/rproepp/spykeutils',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Bio-Informatics'])