From f11dad7cfdbd3afd3857836c2a597d64e234e58e Mon Sep 17 00:00:00 2001 From: Emerson Pedroso Date: Sat, 20 May 2023 14:54:58 -0300 Subject: [PATCH] deploy fixes --- README.md | 6 +++++- setup.py | 57 +++++++++++++++++++++++++++++++++---------------------- 2 files changed, 39 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index dc2890e..6427618 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,13 @@ pip install ejtraderMT -U for developers attention may contain countless bugs ``` -git clone https://github.com/traderpedroso/ejtraderMT +git clone https://github.com/ejtraderLabs/ejtraderMT cd ejtraderMT python setup.py install + +or + +pip install git+https://github.com/ejtraderLabs/ejtraderMT.git ``` diff --git a/setup.py b/setup.py index cd727e6..0e8582f 100644 --- a/setup.py +++ b/setup.py @@ -4,30 +4,31 @@ def readme(): - with io.open('README.md', encoding='utf-8') as f: + 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: + with io.open(filename, encoding="utf-8") as f: for line in f.readlines(): reqs.append(line.strip()) return reqs setup( - name='ejtraderMT', - version='3.13', + name="ejtraderMT", + version="3.14", packages=find_packages(), - url='https://ejtraderMT.readthedocs.io/', - download_url='https://ejtrader.com', - license='GPL-3.0', - author='Emerson Pedroso', - author_email='support@ejtrader.com', - description='Metatrader API', + url="https://ejtraderMT.readthedocs.io/", + download_url="https://ejtrader.com", + license="GPL-3.0", + author="Emerson Pedroso", + author_email="support@ejtrader.com", + description="Metatrader API", long_description=readme(), - long_description_content_type='text/markdown', - install_requires=requirements(filename='requirements.txt'), + long_description_content_type="text/markdown", + install_requires=requirements(filename="requirements.txt"), include_package_data=True, classifiers=[ "Programming Language :: Python :: 3 :: Only", @@ -40,18 +41,28 @@ def requirements(filename): "Topic :: Office/Business :: Financial", "Topic :: Office/Business :: Financial :: Investment", "Topic :: Scientific/Engineering :: Information Analysis", - "Topic :: Software Development :: Libraries" + "Topic :: Software Development :: Libraries", ], - python_requires='>=3', - keywords=', '.join([ - 'metatrader', 'f-api', 'historical-data', - 'financial-data', 'stocks', 'funds', 'etfs', - 'indices', 'currency crosses', 'bonds', 'commodities', - 'crypto currencies' - ]), + python_requires=">=3", + keywords=", ".join( + [ + "metatrader", + "f-api", + "historical-data", + "financial-data", + "stocks", + "funds", + "etfs", + "indices", + "currency crosses", + "bonds", + "commodities", + "crypto currencies", + ] + ), project_urls={ - 'Bug Reports': 'https://github.com/traderpedroso/ejtraderMT/issues', - 'Source': 'https://github.com/traderpedroso/ejtraderMT', - 'Documentation': 'https://ejtrader.readthedocs.io/' + "Bug Reports": "https://github.com/traderpedroso/ejtraderMT/issues", + "Source": "https://github.com/traderpedroso/ejtraderMT", + "Documentation": "https://ejtrader.readthedocs.io/", }, )