Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·61 lines (55 loc) · 1.67 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·61 lines (55 loc) · 1.67 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import setup, find_packages
import platform
import warnings
os_name = platform.system()
# Requirements for use
reqs = [
"numpy>=2.2.1",
"pandas>=2.2.3",
"XlsxWriter>=3.2.0",
"openpyxl>=3.1.5",
"tables>=3.10.1",
"scipy>=1.15.0",
"matplotlib"
]
if os_name == "Linux" or os_name == "Darwin":
reqs.append("neuron==9.0.1")
else:
warnings.warn("For running neuronpyxl on Windows,\
make sure to install NEURON 9.0.1 before installing neuronpyxl.")
# List of all modules involved with the project
MODULES = ["cell", "modbuilder", "network", "reader"]
with open("docs/README.md", 'r') as f:
README = f.read()
setup(
name="neuronpyxl",
version="1.0.0",
author="Uri Dickman",
description="neuronpyxl provides an Excel spreadsheet interface \
bulit into Python to run SNNAP-based models via the NEURON simulator.",
long_description=README,
license="GNU General Public License v3.0",
python_requires=">=3.10",
install_requires=reqs,
py_modules=MODULES,
packages=find_packages(),
entry_points={
'console_scripts': [
'neuronpyxl=neuronpyxl.scripts:main',
],
},
project_urls={
"Source code": "https://github.com/CWRUChielLab/neuronpyxl.git"
},
package_data={
"neuronpyxl": ["modls/*.mod"]
},
classifiers = [
"Programming Language :: Python :: 3",
'Development Status :: 1 - Pre-Alpha',
'Intended Audience :: Science/Research/Education',
'Topic :: Scientific/Engineering',
'License :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent'
],
)