2017-11-05 16:44:58 +00:00
|
|
|
from sys import version_info
|
2020-09-28 17:43:32 +00:00
|
|
|
|
2017-09-28 21:26:56 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-09-28 17:43:32 +00:00
|
|
|
|
2020-12-14 18:18:54 +00:00
|
|
|
if version_info.major == 3 and version_info.minor < 7 or \
|
2017-11-05 16:44:58 +00:00
|
|
|
version_info.major < 3:
|
2020-12-14 18:18:54 +00:00
|
|
|
print('Your Python interpreter must be 3.7 or greater!')
|
2017-11-05 16:44:58 +00:00
|
|
|
exit(1)
|
|
|
|
|
2018-12-13 18:28:20 +00:00
|
|
|
from pathlib import Path # noqa: E402
|
2020-09-28 17:43:32 +00:00
|
|
|
|
2018-12-13 18:28:20 +00:00
|
|
|
from freqtrade import __version__ # noqa: E402
|
|
|
|
|
|
|
|
|
|
|
|
readme_file = Path(__file__).parent / "README.md"
|
|
|
|
readme_long = "Crypto Trading Bot"
|
|
|
|
if readme_file.is_file():
|
|
|
|
readme_long = (Path(__file__).parent / "README.md").read_text()
|
2017-09-28 21:26:56 +00:00
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
# Requirements used for submodules
|
2021-02-17 19:46:58 +00:00
|
|
|
api = ['fastapi', 'uvicorn', 'pyjwt', 'aiofiles']
|
2019-07-29 18:53:26 +00:00
|
|
|
plot = ['plotly>=4.0']
|
2019-09-24 13:03:40 +00:00
|
|
|
hyperopt = [
|
|
|
|
'scipy',
|
|
|
|
'scikit-learn',
|
2020-04-29 10:21:04 +00:00
|
|
|
'scikit-optimize>=0.7.0',
|
2019-09-24 13:03:40 +00:00
|
|
|
'filelock',
|
|
|
|
'joblib',
|
2020-04-06 11:12:32 +00:00
|
|
|
'progressbar2',
|
2021-02-25 18:24:30 +00:00
|
|
|
'psutil',
|
2019-09-24 13:03:40 +00:00
|
|
|
]
|
2019-07-29 18:53:26 +00:00
|
|
|
|
|
|
|
develop = [
|
|
|
|
'coveralls',
|
|
|
|
'flake8',
|
|
|
|
'flake8-type-annotations',
|
|
|
|
'flake8-tidy-imports',
|
|
|
|
'mypy',
|
|
|
|
'pytest',
|
|
|
|
'pytest-asyncio',
|
|
|
|
'pytest-cov',
|
|
|
|
'pytest-mock',
|
|
|
|
'pytest-random-order',
|
|
|
|
]
|
|
|
|
|
2019-08-09 02:09:15 +00:00
|
|
|
jupyter = [
|
|
|
|
'jupyter',
|
|
|
|
'nbstripout',
|
|
|
|
'ipykernel',
|
2019-09-21 08:27:43 +00:00
|
|
|
'nbconvert',
|
2019-08-09 02:09:15 +00:00
|
|
|
]
|
|
|
|
|
2019-09-24 13:03:40 +00:00
|
|
|
all_extra = api + plot + develop + jupyter + hyperopt
|
2017-09-28 21:26:56 +00:00
|
|
|
|
|
|
|
setup(name='freqtrade',
|
|
|
|
version=__version__,
|
2019-01-03 13:38:38 +00:00
|
|
|
description='Crypto Trading Bot',
|
2018-12-13 18:28:20 +00:00
|
|
|
long_description=readme_long,
|
|
|
|
long_description_content_type="text/markdown",
|
2018-06-05 10:27:24 +00:00
|
|
|
url='https://github.com/freqtrade/freqtrade',
|
2019-09-18 09:36:16 +00:00
|
|
|
author='Freqtrade Team',
|
2017-09-28 21:26:56 +00:00
|
|
|
author_email='michael.egger@tsn.at',
|
|
|
|
license='GPLv3',
|
|
|
|
packages=['freqtrade'],
|
2018-07-29 12:01:50 +00:00
|
|
|
setup_requires=['pytest-runner', 'numpy'],
|
2019-10-05 11:41:54 +00:00
|
|
|
tests_require=['pytest', 'pytest-asyncio', 'pytest-cov', 'pytest-mock', ],
|
2017-09-29 18:07:50 +00:00
|
|
|
install_requires=[
|
2020-09-13 14:43:22 +00:00
|
|
|
# from requirements.txt
|
2020-03-25 14:32:52 +00:00
|
|
|
'ccxt>=1.24.96',
|
2017-11-08 23:33:22 +00:00
|
|
|
'SQLAlchemy',
|
|
|
|
'python-telegram-bot',
|
2020-10-16 06:13:31 +00:00
|
|
|
'arrow>=0.17.0',
|
2019-07-29 18:53:26 +00:00
|
|
|
'cachetools',
|
2017-11-08 23:33:22 +00:00
|
|
|
'requests',
|
|
|
|
'urllib3',
|
|
|
|
'wrapt',
|
|
|
|
'jsonschema',
|
|
|
|
'TA-Lib',
|
2021-04-03 05:17:02 +00:00
|
|
|
'technical',
|
2017-11-08 23:33:22 +00:00
|
|
|
'tabulate',
|
2020-03-07 10:52:02 +00:00
|
|
|
'pycoingecko',
|
2019-07-29 18:53:26 +00:00
|
|
|
'py_find_1st',
|
2018-12-28 09:01:16 +00:00
|
|
|
'python-rapidjson',
|
2019-07-29 18:53:26 +00:00
|
|
|
'sdnotify',
|
2019-08-13 16:47:38 +00:00
|
|
|
'colorama',
|
2019-11-01 15:09:30 +00:00
|
|
|
'jinja2',
|
2020-01-29 20:21:38 +00:00
|
|
|
'questionary',
|
|
|
|
'prompt-toolkit',
|
2019-07-29 18:53:26 +00:00
|
|
|
'numpy',
|
|
|
|
'pandas',
|
2020-07-12 18:06:59 +00:00
|
|
|
'tables',
|
2020-07-24 15:44:29 +00:00
|
|
|
'blosc',
|
2017-09-29 18:07:50 +00:00
|
|
|
],
|
2019-07-29 18:53:26 +00:00
|
|
|
extras_require={
|
|
|
|
'api': api,
|
2019-07-29 18:54:35 +00:00
|
|
|
'dev': all_extra,
|
2019-07-29 18:53:26 +00:00
|
|
|
'plot': plot,
|
2019-08-09 02:09:15 +00:00
|
|
|
'jupyter': jupyter,
|
2019-09-24 13:03:40 +00:00
|
|
|
'hyperopt': hyperopt,
|
|
|
|
'all': all_extra,
|
2019-07-29 18:53:26 +00:00
|
|
|
},
|
2017-09-28 21:53:19 +00:00
|
|
|
include_package_data=True,
|
2017-09-29 18:15:54 +00:00
|
|
|
zip_safe=False,
|
2019-05-25 13:08:35 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'freqtrade = freqtrade.main:main',
|
|
|
|
],
|
|
|
|
},
|
2017-09-29 18:15:54 +00:00
|
|
|
classifiers=[
|
2019-10-23 04:43:22 +00:00
|
|
|
'Environment :: Console',
|
|
|
|
'Intended Audience :: Science/Research',
|
2017-09-29 18:15:54 +00:00
|
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
2019-10-23 04:43:22 +00:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-09-28 18:01:59 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2019-10-23 04:43:22 +00:00
|
|
|
'Operating System :: MacOS',
|
|
|
|
'Operating System :: Unix',
|
2017-09-29 18:15:54 +00:00
|
|
|
'Topic :: Office/Business :: Financial :: Investment',
|
|
|
|
])
|