-
Notifications
You must be signed in to change notification settings - Fork 881
/
setup_u8darts.py
66 lines (53 loc) · 1.94 KB
/
setup_u8darts.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
from pathlib import Path
from setuptools import find_packages, setup
def read_requirements(path):
return list(Path(path).read_text().splitlines())
base_reqs = read_requirements("requirements/core.txt")
torch_reqs = read_requirements("requirements/torch.txt")
no_torch_reqs = read_requirements("requirements/notorch.txt")
all_reqs = base_reqs + torch_reqs + no_torch_reqs
with open("README.md") as fh:
LONG_DESCRIPTION = fh.read()
URL = "https://unit8co.github.io/darts/"
PROJECT_URLS = {
"Bug Tracker": "https://github.com/unit8co/darts/issues",
"Documentation": URL,
"Source Code": "https://github.com/unit8co/darts",
}
setup(
name="u8darts",
version="0.31.0",
description="A python library for easy manipulation and forecasting of time series.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
project_urls=PROJECT_URLS,
url=URL,
maintainer="Unit8 SA",
maintainer_email="[email protected]",
license="Apache License 2.0",
packages=find_packages(),
install_requires=base_reqs,
extras_require={"all": all_reqs, "torch": torch_reqs, "notorch": no_torch_reqs},
package_data={
"darts": ["py.typed"],
},
zip_safe=False,
python_requires=">=3.9",
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="time series forecasting",
)