-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
executable file
·47 lines (38 loc) · 1.25 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
# -*- coding: utf-8 -*-
from setuptools import setup
import subprocess
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README_pypi.md'), encoding='utf-8') as f:
long_description = f.read()
out = subprocess.Popen(['python', path.join(this_directory,'version.py')], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
stdout, _ = out.communicate()
version = stdout.decode("utf-8").strip()
print(version)
packages = \
['pytrendseries']
package_data = \
{'': ['*'],
'detecttrend': ['.github/workflows/*']}
install_requires = \
['matplotlib>=3.4.2,<4.0.0',
'pandas>=1.2.4,<2.0.0',
'pytest>=6.2.4,<7.0.0',
'tqdm>=4.60.0,<5.0.0']
setup_kwargs = {
'name': 'pytrendseries',
'version': version,
'description': 'Detect trend in time series.',
'long_description':long_description,
'long_description_content_type':'text/markdown',
'author': 'Rafael Rodrigues',
'author_email': 'rafael.rafarod@gmail.com',
'maintainer': None,
'maintainer_email': None,
'url': None,
'packages': packages,
'package_data': package_data,
'install_requires': install_requires,
'python_requires': '>=3.8,<4.0',
}
setup(**setup_kwargs)