-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
53 lines (50 loc) · 1.91 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
import setuptools
import fnmatch
import os
from glob import glob
# 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="netpyne_ui",
version="1.1.0",
url="https://github.com/MetaCell/NetPyNE-UI",
author="MetaCell",
author_email="[email protected]",
description="NetPyNE User interface",
license="MIT",
long_description=open('README.rst').read(),
data_files=data_files,
packages=setuptools.find_packages(),
include_package_data=True,
scripts=['NetPyNE-UI'],
classifiers=[
'Development Status :: 3 - Alpha',
'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.0.0',
'NEURON>=8.2.2',
'netpyne>=1.0.6',
'neuromllite==0.5.4',
'pyNeuroML>=1.0.10',
'sentry_sdk>=1.5.2',
'dacite>=1.6.0',
'h5py>=3.7.0',
'jsonpickle>=2.1.0',
],
)