-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
executable file
·53 lines (45 loc) · 1.95 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
from setuptools import setup, find_packages
PYRATES_TEAM = "Richard Gast, Daniel Rose"
INSTALL_REQUIREMENTS = ['numpy',
'networkx',
'pandas',
'ruamel.yaml',
'sympy',
'scipy'
]
CLASSIFIERS = ["Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
EXTRAS = {"backends": ["tensorflow>=2.0", "torch"],
"dev": ["pytest", "bump2version"]}
EXTRAS["all"] = [item for sublist in EXTRAS.values() for item in sublist]
EXTRAS["tests"] = [item for key, sublist in EXTRAS.items() for item in sublist if key in ("backends", "dev")]
with open("VERSION", "r", encoding="utf8") as fh:
VERSION = fh.read().strip()
with open("README.md", "r", encoding="utf8") as fh:
DESCRIPTION = fh.read()
setup(name='pyrates',
version=VERSION,
description='Dynamical Systems Modeling Framework',
long_description=DESCRIPTION,
long_description_content_type='text/markdown',
author=PYRATES_TEAM,
author_email='richard.gast@northwestern.edu',
license='GPL v3',
packages=find_packages(),
zip_safe=False,
python_requires='>=3.6',
install_requires=INSTALL_REQUIREMENTS,
extras_require=EXTRAS,
classifiers=CLASSIFIERS,
include_package_data=True # include additional non-python files specified in MANIFEST.in
)