Skip to content

Commit 5acb0b4

Browse files
author
Emerson Pedroso
committed
fix
1 parent 8627797 commit 5acb0b4

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

setup.py

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import io
2+
3+
from setuptools import setup, find_packages
4+
5+
6+
def readme():
7+
with io.open('README.md', encoding='utf-8') as f:
8+
return f.read()
9+
10+
def requirements(filename):
11+
reqs = list()
12+
with io.open(filename, encoding='utf-8') as f:
13+
for line in f.readlines():
14+
reqs.append(line.strip())
15+
return reqs
16+
17+
18+
setup(
19+
name='ejtraderMT',
20+
version='2.0.3',
21+
packages=find_packages(),
22+
url='https://ejtrader_mt.readthedocs.io/',
23+
download_url='https://ejtrader.com',
24+
license='MIT License',
25+
author='Emerson Pedroso',
26+
author_email='[email protected]',
27+
description='Metatrader API',
28+
long_description=readme(),
29+
long_description_content_type='text/markdown',
30+
install_requires=requirements(filename='requirements.txt'),
31+
include_package_data=True,
32+
classifiers=[
33+
"Programming Language :: Python :: 3 :: Only",
34+
"Programming Language :: Python :: 3.5",
35+
"Programming Language :: Python :: 3.6",
36+
"Programming Language :: Python :: 3.7",
37+
"Programming Language :: Python :: 3.8",
38+
"License :: OSI Approved :: MIT License",
39+
"Intended Audience :: Developers",
40+
"Topic :: Office/Business :: Financial",
41+
"Topic :: Office/Business :: Financial :: Investment",
42+
"Topic :: Scientific/Engineering :: Information Analysis",
43+
"Topic :: Software Development :: Libraries"
44+
],
45+
python_requires='>=3',
46+
extras_require={
47+
"docs": requirements(filename='docs/requirements.txt')
48+
},
49+
keywords=', '.join([
50+
'metatrader', 'f-api', 'historical-data',
51+
'financial-data', 'stocks', 'funds', 'etfs',
52+
'indices', 'currency crosses', 'bonds', 'commodities',
53+
'crypto currencies'
54+
]),
55+
project_urls={
56+
'Bug Reports': 'https://github.com/traderpedroso/ejtrader_mt/issues',
57+
'Source': 'https://github.com/traderpedroso/ejtrader_mt',
58+
'Documentation': 'https://ejtrader.readthedocs.io/'
59+
},
60+
)

0 commit comments

Comments
 (0)