forked from python-control/python-control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.42 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
from setuptools import setup, find_packages
ver = {}
try:
with open('control/_version.py') as fd:
exec(fd.read(), ver)
version = ver.get('__version__', 'dev')
except IOError:
version = 'dev'
with open('README.rst') as fp:
long_description = fp.read()
CLASSIFIERS = """
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development
Topic :: Scientific/Engineering
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""
setup(
name='control',
version=version,
author='Python Control Developers',
author_email='python-control-developers@lists.sourceforge.net',
url='http://python-control.org',
description='Python Control Systems Library',
long_description=long_description,
packages=find_packages(exclude=['benchmarks']),
classifiers=[f for f in CLASSIFIERS.split('\n') if f],
install_requires=['numpy',
'scipy',
'matplotlib'],
extras_require={
'test': ['pytest', 'pytest-timeout'],
}
)