-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathsetup.py
34 lines (32 loc) · 939 Bytes
/
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
import io
from distutils.core import setup
# load the version from version.py
version = {}
with open("pwlf/version.py") as fp:
exec(fp.read(), version)
setup(
name="pwlf",
version=version["__version__"],
author="Charles Jekel",
author_email="[email protected]",
packages=["pwlf"],
url="https://github.com/cjekel/piecewise_linear_fit_py",
license="MIT License",
description="fit piecewise linear functions to data",
long_description=io.open("README.rst", encoding="utf-8").read(),
# long_description_content_type='text/markdown',
platforms=["any"],
install_requires=[
"numpy >= 1.14.0",
"scipy >= 1.2.0",
"pyDOE >= 0.3.8",
],
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
python_requires=">3.5",
extras_require={
"PiecewiseLinFitTF": ["tensorflow < 2.0.0"],
},
)