forked from PaddlePaddle/PaddleTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·48 lines (43 loc) · 1.42 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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
Setup script.
"""
from setuptools import find_packages, setup
from pathlib import Path
import paddlets
def read_requirements(path):
"""read requirements"""
return list(Path(path).read_text().splitlines())
base_reqs = read_requirements("requirements/core.txt")
paddle_reqs = read_requirements("requirements/paddle.txt")
autots_reqs = read_requirements("requirements/autots.txt")
all_reqs = base_reqs + paddle_reqs + autots_reqs
setup(
name='paddlets',
version=paddlets.__version__,
maintainer='paddlets Team',
maintainer_email='[email protected]',
packages=find_packages(),
url='https://github.com/PaddlePaddle/PaddleTS',
license='LICENSE',
description='PaddleTS (Paddle Time Series Tool), \
PaddlePaddle-based Time Series Modeling in Python',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
python_requires='>=3.7',
install_requires=base_reqs,
extras_require={
"paddle": paddle_reqs,
"autots": autots_reqs,
"all": all_reqs
},
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
]
)