-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
61 lines (58 loc) · 1.95 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
51
52
53
54
55
56
57
58
59
60
61
import os
import setuptools
dir_repo = os.path.abspath(os.path.dirname(__file__))
# read the contents of REQUIREMENTS folder
with open(os.path.join(dir_repo, "requirements/base.txt"), "r") as f:
requirements = f.read().splitlines()
with open(os.path.join(dir_repo, "requirements/dev.txt"), "r") as f:
requirements_dev = f.read().splitlines()
# read the contents of README file
with open(os.path.join(dir_repo, "README.md"), encoding="utf-8") as f:
readme = f.read()
# read the version name
with open("tot/_version.py") as f:
exec(f.read())
setuptools.setup(
name="tot",
version=__version__,
description="Evaluate forecasting models",
author="Oskar Triebe",
author_email="[email protected]",
url="https://github.com/ourownstory/test-of-time",
license="MIT",
python_requires=">=3.6",
install_requires=requirements,
extras_require={
"dev": requirements_dev,
"full": ["prophet"],
},
# setup_requires=[""],
scripts=["scripts/tot_dev_setup.py"],
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
packages=[ # add all packages
"tot",
"tot.models",
"tot.datasets",
"tot.synthetic_data",
"tot.evaluation",
"tot.data_processing",
"tot.evaluation",
],
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Natural Language :: English",
"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
)