-
Notifications
You must be signed in to change notification settings - Fork 379
/
setup.py
64 lines (57 loc) · 2.2 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
62
63
64
# Copyright 2018-2021 Alvaro Bartolome, alvarobartt @ GitHub
# See LICENSE for details.
import io
from setuptools import setup, find_packages
def readme():
with io.open('README.md', encoding='utf-8') as f:
return f.read()
def requirements(filename):
reqs = list()
with io.open(filename, encoding='utf-8') as f:
for line in f.readlines():
reqs.append(line.strip())
return reqs
setup(
name='investpy',
version='1.0.8',
packages=find_packages(),
url='https://investpy.readthedocs.io/',
download_url='https://github.com/alvarobartt/investpy/archive/1.0.8.tar.gz',
license='MIT License',
author='Alvaro Bartolome',
author_email='[email protected]',
description='Financial Data Extraction from Investing.com with Python',
long_description=readme(),
long_description_content_type='text/markdown',
install_requires=requirements(filename='requirements/requirements.txt'),
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries"
],
python_requires='>=3.7',
extras_require={
"tests": requirements(filename='requirements/tests-requirements.txt'),
"docs": requirements(filename='requirements/docs-requirements.txt')
},
keywords=', '.join([
'investing', 'investing-api', 'historical-data',
'financial-data', 'stocks', 'funds', 'etfs',
'indices', 'currency crosses', 'bonds', 'commodities',
'crypto currencies'
]),
project_urls={
'Bug Reports': 'https://github.com/alvarobartt/investpy/issues',
'Source': 'https://github.com/alvarobartt/investpy',
'Documentation': 'https://investpy.readthedocs.io/'
},
)