forked from MetaCell/NetPyNE-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (41 loc) · 1.7 KB
/
setup.py
File metadata and controls
44 lines (41 loc) · 1.7 KB
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
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="0.7.0",
url="https://github.com/MetaCell/NetPyNE-UI",
author="MetaCell",
author_email="info@metacell.us",
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>=7.8.0'
'netpyne>=1.0.0'
],
)