-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
43 lines (38 loc) · 1.37 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
from setuptools import find_packages, setup
def read_version():
with open('dendrify/version.py', 'r') as f:
lines = f.readlines()
for line in lines:
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
return "unknown"
VERSION = read_version()
DESCRIPTION = 'A package for adding dendrites to SNNs'
with open("README.rst") as f:
LONG_DESCRIPTION = f.read()
# Setting up
setup(
name="dendrify",
version=VERSION,
author="Michalis Pagkalos",
author_email="<mpagkalos93@gmail.com>",
description=DESCRIPTION,
long_description_content_type="text/x-rst; charset=UTF-8",
long_description=LONG_DESCRIPTION,
packages=find_packages(),
install_requires=['brian2', 'matplotlib', 'networkx'],
keywords=['python', 'brian2', 'dendrites', 'SNNs', 'network models'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Bio-Informatics"
],
project_urls={
'Documentation': 'https://dendrify.readthedocs.io/en/latest/',
'Source': 'https://github.com/Poirazi-Lab/dendrify',
'Tracker': 'https://github.com/Poirazi-Lab/dendrify/issues'
}
)