-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
47 lines (37 loc) · 1.24 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
#!/usr/bin/env python3
# _*_ coding:utf-8 _*_
from setuptools import setup
import os
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding="utf-8") as f:
long_description = f.read()
with open(os.path.join(this_directory,'version.py'), encoding="utf-8") as f:
version = f.read()
version = version.split("=")[-1].split("print")[0].replace('"','').strip()
packages = ['pyettj']
package_data = \
{'': ['*'],
'pyettj': ['exemplo/*', 'media/*']}
install_requires = \
['beautifulsoup4>=4.9.3,<5.0.0',
'lxml>=4.6.3,<5.0.0',
'matplotlib>=3.4.2,<4.0.0',
'pandas>=1.2.4,<2.0.0',
'requests>=2.25.1,<3.0.0']
setup_kwargs = {
'name': 'pyettj',
'version': version,
'description': '"Capturar dados das estruturas a termo de algumas taxas de juros (ettj) brasileiras."',
'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)