-
Notifications
You must be signed in to change notification settings - Fork 144
/
setup.py
40 lines (32 loc) · 1.1 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
from pathlib import Path
import setuptools
ROOT = Path(__file__).parent
with open("README.md") as fh:
long_description = fh.read()
def find_requirements(filename):
with (ROOT / "requirements" / filename).open() as f:
return [s for s in [line.strip(" \n") for line in f] if not s.startswith("#") and s != ""]
install_reqs = find_requirements("requirements.txt")
docs_require = find_requirements("requirements-docs.txt")
setuptools.setup(
name="tsfel",
version="0.1.9",
author="Fraunhofer Portugal",
description="Library for time series feature extraction",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/fraunhoferportugal/tsfel/",
package_data={
"tsfel": ["feature_extraction/features.json"],
},
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
install_requires=install_reqs,
extras_require={
"docs": docs_require,
},
)