-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
71 lines (59 loc) · 1.51 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
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
# Package meta-data.
NAME = "neuromodels"
DESCRIPTION = "Computational neuroscience models and model tools."
URL = "https://github.com/nicolossus/neuromodels"
EMAIL = "prof.haug@gmail.com"
AUTHOR = "Nicolai Haug"
REQUIRES_PYTHON = '>=3.8.0'
REQUIRES_INSTALL = [
"numpy",
"matplotlib",
"scipy",
"pandas",
"seaborn",
"neo",
"quantities",
"elephant",
"viziphant"
]
REQUIRES_EXTRAS = {
"dev": [
"pytest",
"pytest-cov",
"flake8>=3.9.2",
"isort",
"twine",
],
}
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
about = {}
with open(os.path.join(here, NAME, "__version__.py")) as f:
exec(f.read(), about)
VERSION = about['__version__']
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(exclude=["tests", ]),
python_requires=REQUIRES_PYTHON,
install_requires=REQUIRES_INSTALL,
extras_require=REQUIRES_EXTRAS,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)