forked from klusta-team/klustaviewa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (55 loc) · 1.86 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
63
64
65
66
67
68
69
70
71
72
import os
import os.path as op
import re
from setuptools import setup
import numpy as np
cmdclass = { }
ext_modules = [ ]
# Find the version.
curdir = op.dirname(op.realpath(__file__))
filename = op.join(curdir, 'klustaviewa/__init__.py')
with open(filename, 'r') as f:
version = re.search(r"__version__ = '([^']+)'", f.read()).group(1)
LONG_DESCRIPTION = """Spike sorting graphical interface."""
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
if __name__ == '__main__':
setup(
zip_safe=False,
name='klustaviewa',
version=version,
author='Cyrille Rossant',
author_email='rossant@github',
packages=['klustaviewa',
'klustaviewa.control',
'klustaviewa.control.tests',
'klustaviewa.gui',
'klustaviewa.gui.tests',
'klustaviewa.scripts',
'klustaviewa.stats',
'klustaviewa.stats.tests',
'klustaviewa.views',
'klustaviewa.views.tests',
'klustaviewa.wizard',
'klustaviewa.wizard.tests',
],
# Scripts.
entry_points={
'gui_scripts': [
'klustaviewa = klustaviewa.scripts.runklustaviewa:main',
],
},
# app=['klustaviewa/scripts/runklustaviewa.pyw',
# ],
package_data={
'klustaviewa': ['icons/*.png', 'icons/*.ico', 'gui/*.css'],
},
# Cython stuff.
cmdclass = cmdclass,
ext_modules=ext_modules,
include_dirs=np.get_include(),
url='https://klusta-team.github.io',
license='LICENSE.md',
description='Spike sorting software suite.',
long_description=LONG_DESCRIPTION,
)