2017-11-05 16:44:58 +00:00
|
|
|
from sys import version_info
|
2017-09-28 21:26:56 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2017-11-05 16:44:58 +00:00
|
|
|
if version_info.major == 3 and version_info.minor < 6 or \
|
|
|
|
version_info.major < 3:
|
|
|
|
print('Your Python interpreter must be 3.6 or greater!')
|
|
|
|
exit(1)
|
|
|
|
|
2017-09-28 21:26:56 +00:00
|
|
|
from freqtrade import __version__
|
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
# Requirements used for submodules
|
|
|
|
api = ['flask']
|
|
|
|
plot = ['plotly>=4.0']
|
|
|
|
|
|
|
|
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',
|
|
|
|
]
|
|
|
|
|
|
|
|
all_extra = api + plot + develop + jupyter
|
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-06-05 10:27:24 +00:00
|
|
|
url='https://github.com/freqtrade/freqtrade',
|
2017-09-28 21:26:56 +00:00
|
|
|
author='gcarq and contributors',
|
|
|
|
author_email='michael.egger@tsn.at',
|
|
|
|
license='GPLv3',
|
|
|
|
packages=['freqtrade'],
|
2018-07-29 12:01:50 +00:00
|
|
|
setup_requires=['pytest-runner', 'numpy'],
|
2017-10-02 16:17:54 +00:00
|
|
|
tests_require=['pytest', 'pytest-mock', 'pytest-cov'],
|
2017-09-29 18:07:50 +00:00
|
|
|
install_requires=[
|
2019-07-29 18:53:26 +00:00
|
|
|
# from requirements-common.txt
|
|
|
|
'ccxt>=1.18',
|
2017-11-08 23:33:22 +00:00
|
|
|
'SQLAlchemy',
|
|
|
|
'python-telegram-bot',
|
|
|
|
'arrow',
|
2019-07-29 18:53:26 +00:00
|
|
|
'cachetools',
|
2017-11-08 23:33:22 +00:00
|
|
|
'requests',
|
|
|
|
'urllib3',
|
|
|
|
'wrapt',
|
|
|
|
'scikit-learn',
|
2018-11-20 16:43:49 +00:00
|
|
|
'joblib',
|
2017-11-08 23:33:22 +00:00
|
|
|
'jsonschema',
|
|
|
|
'TA-Lib',
|
|
|
|
'tabulate',
|
2018-03-17 23:42:24 +00:00
|
|
|
'coinmarketcap',
|
2018-06-22 14:08:22 +00:00
|
|
|
'scikit-optimize',
|
2019-07-29 18:53:26 +00:00
|
|
|
'filelock',
|
|
|
|
'py_find_1st',
|
2018-12-28 09:01:16 +00:00
|
|
|
'python-rapidjson',
|
2019-07-29 18:53:26 +00:00
|
|
|
'sdnotify',
|
|
|
|
# from requirements.txt
|
|
|
|
'numpy',
|
|
|
|
'pandas',
|
|
|
|
'scipy',
|
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,
|
|
|
|
'all': all_extra,
|
2019-08-09 02:09:15 +00:00
|
|
|
'jupyter': jupyter,
|
2019-08-07 23:48:55 +00:00
|
|
|
|
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=[
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
|
|
|
'Topic :: Office/Business :: Financial :: Investment',
|
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
])
|