forked from dynamicslab/pysindy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (43 loc) · 1.43 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
import pathlib
import sys
from setuptools import find_packages
from setuptools import setup
assert sys.version_info >= (3, 6, 0), "PySindy requires Python 3.6+"
NAME = "pysindy"
DESCRIPTION = "Sparse Identification of Nonlinear Dynamics"
URL = "https://github.com/dynamicslab/pysindy"
AUTHOR = "Brian de Silva, Kathleen Champion, Markus Quade"
PYTHON = ">=3.6"
LICENSE = "MIT"
CLASSIFIERS = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Mathematics",
]
here = pathlib.Path(__file__).parent
with open(here / "requirements.txt", "r") as f:
REQUIRED = f.readlines()
with open(here / "README.rst", "r") as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
use_scm_version=True,
setup_requires=["setuptools_scm", "setuptools_scm_git_archive"],
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(exclude=["test", "examples"]),
install_requires=REQUIRED,
python_requires=PYTHON,
license=LICENSE,
classifiers=CLASSIFIERS,
)