forked from Gunnstein/strid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (32 loc) · 1.12 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
# Parse the version from the module.
with open('strid/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
break
with open('README.rst', 'r', encoding="utf-8") as fin:
long_description = fin.read()
setup(
name='strid',
version=version,
author='Gunnstein T. Frøseth',
author_email='[email protected]',
description='System identification of linear time-invariant systems',
license='ISC',
long_description=long_description,
long_description_content_type="text/x-rst",
url='https://github.com/gunnstein/strid',
packages=find_packages(exclude=["test"]),
classifiers=[
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
install_requires=["numpy", "scipy", "matplotlib"],
python_requires=">=3.6",
)