-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
60 lines (56 loc) · 2.06 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
import fnmatch
import os
from glob import glob
import setuptools
#This block copies resources to the server so we avoid jupyter nbextension install --py --sys-prefix jupyter_geppetto
data_files = []
data_files.append(('geppetto/src/main/webapp/build/', glob('src/jupyter_geppetto/geppetto/src/main/webapp/build/*.js')))
data_files.append(('geppetto/src/main/webapp/build/', glob('src/jupyter_geppetto/geppetto/src/main/webapp/build/*.vm')))
data_files.append(('geppetto/geppetto/src/main/webapp/build/', glob('src/jupyter_geppetto/geppetto/src/main/webapp/build/fonts/*')))
for root, dirnames, filenames in os.walk('src/jupyter_geppetto/geppetto/src/main/webapp/js/'):
for filename in fnmatch.filter(filenames, '*'):
data_files.append((root[3:], [os.path.join(root, filename)]))
setuptools.setup(
name="nwb_explorer",
version="0.6.2",
url="https://github.com/tarelli/nwb-explorer",
author="MetaCell",
author_email="[email protected]",
description="NWB Explorer User interface",
license="MIT",
long_description=open('README.md').read(),
data_files=data_files,
packages=setuptools.find_packages(),
package_data={
'': ['*.hoc']
},
scripts=['NWBE'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Visualization',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.7'
],
install_requires=[
'jupyter_geppetto>=1.1.0',
'bokeh>=0.13.0',
'holoviews>=1.10.6',
'jupyter-core<5',
'jupyter-client<8',
'jupyter-server<2',
'msgpack-python==0.5.6',
'nose>=1.3.7',
'Pillow>=7.0.0',
'redis>=2.10.6',
'seaborn>=0.8.1',
'uuid>=1.30',
'pynwb>=2.3.0',
'imageio>=2.5.0',
'quantities>=0.12.3',
'nwbwidgets>=0.10.0',
],
)