-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (45 loc) · 1.67 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
from os import path as op
from setuptools import setup
def _read(fname):
try:
return open(op.join(op.dirname(__file__), fname)).read()
except IOError:
return ''
def get_dependencies(dependency_file):
return [
line for line in _read(dependency_file).split('\n')
if line and not line.startswith('#')
]
install_requires = get_dependencies('requirements.txt')
tests_require = get_dependencies('requirements-tests.txt')
setup(
name='allokation',
packages=['allokation'],
version='0.1.0',
python_requires='>=3.8',
license='MIT License',
description="""
A python package that gets stocks prices from yahoo finance (https://finance.yahoo.com/)
and calculates how much of each stocks you must buy to have almost equal distribution
between the stocks you want in your portfolio
""",
long_description=_read('README.md'),
long_description_content_type='text/markdown',
author='Rafael Capaci',
author_email='[email protected]',
url='https://github.com/capaci/allokation',
download_url='https://github.com/capaci/allokation/archive/0.1.0.tar.gz',
keywords=['finance', 'stocks', 'portfolio allocation'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Other Audience',
'Topic :: Office/Business :: Financial :: Investment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.8',
],
install_requires=install_requires,
tests_require=tests_require,
test_suite='tests',
)