forked from ourownstory/neural_prophet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (56 loc) · 1.97 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (56 loc) · 1.97 KB
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
import os
import setuptools
dir_repo = os.path.abspath(os.path.dirname(__file__))
# read the contents of REQUIREMENTS file
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()
with open(os.path.join(dir_repo, "requirements/docs.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("neuralprophet/_version.py") as f:
exec(f.read())
setuptools.setup(
name="neuralprophet",
version=__version__,
description="Explainable Forecasting at Scale",
author="Oskar Triebe",
author_email="trieb@stanford.edu",
url="https://github.com/ourownstory/neural_prophet",
license="MIT",
packages=setuptools.find_packages(
exclude=(
"tests",
"scripts",
)
),
python_requires=">=3.6",
install_requires=requirements,
extras_require={
"dev": requirements_dev,
"live": ["livelossplot>=0.5.3"],
},
# setup_requires=[""],
scripts=["scripts/neuralprophet_dev_setup.py"],
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
],
)