2017-09-28 21:26:56 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-09-28 17:43:32 +00:00
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
# Requirements used for submodules
|
|
|
|
plot = ['plotly>=4.0']
|
2019-09-24 13:03:40 +00:00
|
|
|
hyperopt = [
|
|
|
|
'scipy',
|
2023-12-09 11:12:52 +00:00
|
|
|
'scikit-learn',
|
2023-12-09 11:12:30 +00:00
|
|
|
'ft-scikit-optimize>=0.9.2',
|
2019-09-24 13:03:40 +00:00
|
|
|
'filelock',
|
2022-02-05 14:18:05 +00:00
|
|
|
]
|
2019-07-29 18:53:26 +00:00
|
|
|
|
2022-07-31 13:10:01 +00:00
|
|
|
freqai = [
|
|
|
|
'scikit-learn',
|
2023-05-02 06:11:31 +00:00
|
|
|
'joblib',
|
2022-08-01 07:32:25 +00:00
|
|
|
'catboost; platform_machine != "aarch64"',
|
2022-07-31 13:10:01 +00:00
|
|
|
'lightgbm',
|
2023-05-02 06:11:31 +00:00
|
|
|
'xgboost',
|
2023-06-16 11:06:21 +00:00
|
|
|
'tensorboard',
|
2023-06-17 14:14:48 +00:00
|
|
|
'datasieve>=0.1.5'
|
2022-10-05 15:20:40 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
freqai_rl = [
|
|
|
|
'torch',
|
2023-05-02 06:16:12 +00:00
|
|
|
'gymnasium',
|
2022-10-05 15:20:40 +00:00
|
|
|
'stable-baselines3',
|
2023-05-02 06:16:12 +00:00
|
|
|
'sb3-contrib',
|
|
|
|
'tqdm'
|
2022-07-31 13:10:01 +00:00
|
|
|
]
|
|
|
|
|
2022-12-28 15:04:21 +00:00
|
|
|
hdf5 = [
|
|
|
|
'tables',
|
|
|
|
'blosc',
|
|
|
|
]
|
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
develop = [
|
|
|
|
'coveralls',
|
|
|
|
'mypy',
|
2023-05-02 06:09:38 +00:00
|
|
|
'ruff',
|
|
|
|
'pre-commit',
|
2019-07-29 18:53:26 +00:00
|
|
|
'pytest',
|
|
|
|
'pytest-asyncio',
|
|
|
|
'pytest-cov',
|
|
|
|
'pytest-mock',
|
|
|
|
'pytest-random-order',
|
2023-05-02 06:09:38 +00:00
|
|
|
'isort',
|
|
|
|
'time-machine',
|
|
|
|
'types-cachetools',
|
|
|
|
'types-filelock',
|
|
|
|
'types-requests',
|
|
|
|
'types-tabulate',
|
|
|
|
'types-python-dateutil'
|
2019-07-29 18:53:26 +00:00
|
|
|
]
|
|
|
|
|
2019-08-09 02:09:15 +00:00
|
|
|
jupyter = [
|
|
|
|
'jupyter',
|
|
|
|
'nbstripout',
|
|
|
|
'ipykernel',
|
2019-09-21 08:27:43 +00:00
|
|
|
'nbconvert',
|
2021-09-21 21:52:12 +00:00
|
|
|
]
|
2019-08-09 02:09:15 +00:00
|
|
|
|
2022-12-28 15:04:21 +00:00
|
|
|
all_extra = plot + develop + jupyter + hyperopt + hdf5 + freqai + freqai_rl
|
2017-09-28 21:26:56 +00:00
|
|
|
|
2021-05-27 12:00:13 +00:00
|
|
|
setup(
|
|
|
|
tests_require=[
|
|
|
|
'pytest',
|
|
|
|
'pytest-asyncio',
|
|
|
|
'pytest-cov',
|
|
|
|
'pytest-mock',
|
2021-09-21 21:52:12 +00:00
|
|
|
],
|
2021-05-27 12:00:13 +00:00
|
|
|
install_requires=[
|
|
|
|
# from requirements.txt
|
2024-01-17 18:47:16 +00:00
|
|
|
'ccxt>=4.2.15',
|
2023-04-07 12:45:06 +00:00
|
|
|
'SQLAlchemy>=2.0.6',
|
2023-05-11 18:50:52 +00:00
|
|
|
'python-telegram-bot>=20.1',
|
2023-05-15 04:25:06 +00:00
|
|
|
'arrow>=1.0.0',
|
2021-05-27 12:00:13 +00:00
|
|
|
'cachetools',
|
|
|
|
'requests',
|
|
|
|
'urllib3',
|
|
|
|
'jsonschema',
|
|
|
|
'TA-Lib',
|
2021-09-24 17:32:22 +00:00
|
|
|
'pandas-ta',
|
2021-05-27 12:00:13 +00:00
|
|
|
'technical',
|
|
|
|
'tabulate',
|
|
|
|
'pycoingecko',
|
|
|
|
'py_find_1st',
|
|
|
|
'python-rapidjson',
|
2022-04-27 11:13:11 +00:00
|
|
|
'orjson',
|
2021-05-27 12:00:13 +00:00
|
|
|
'sdnotify',
|
|
|
|
'colorama',
|
|
|
|
'jinja2',
|
|
|
|
'questionary',
|
|
|
|
'prompt-toolkit',
|
|
|
|
'numpy',
|
|
|
|
'pandas',
|
2022-09-30 11:47:26 +00:00
|
|
|
'joblib>=1.2.0',
|
2023-04-09 14:05:10 +00:00
|
|
|
'rich',
|
2022-09-27 11:06:13 +00:00
|
|
|
'pyarrow; platform_machine != "armv7l"',
|
2021-05-27 12:00:13 +00:00
|
|
|
'fastapi',
|
2023-08-18 08:19:13 +00:00
|
|
|
'pydantic>=2.2.0',
|
2021-05-27 12:00:13 +00:00
|
|
|
'uvicorn',
|
2022-01-11 14:02:21 +00:00
|
|
|
'psutil',
|
2021-05-27 12:00:13 +00:00
|
|
|
'pyjwt',
|
2021-09-21 21:52:12 +00:00
|
|
|
'aiofiles',
|
2022-08-30 17:04:16 +00:00
|
|
|
'schedule',
|
|
|
|
'websockets',
|
2023-05-02 06:02:52 +00:00
|
|
|
'janus',
|
|
|
|
'ast-comments',
|
|
|
|
'aiohttp',
|
|
|
|
'cryptography',
|
2023-06-01 18:10:57 +00:00
|
|
|
'httpx>=0.24.1',
|
2023-05-02 06:02:52 +00:00
|
|
|
'python-dateutil',
|
2023-05-02 17:28:09 +00:00
|
|
|
'packaging',
|
2021-05-27 12:00:13 +00:00
|
|
|
],
|
|
|
|
extras_require={
|
|
|
|
'dev': all_extra,
|
|
|
|
'plot': plot,
|
|
|
|
'jupyter': jupyter,
|
|
|
|
'hyperopt': hyperopt,
|
2022-12-28 15:04:21 +00:00
|
|
|
'hdf5': hdf5,
|
2022-07-31 13:10:01 +00:00
|
|
|
'freqai': freqai,
|
2022-10-05 15:20:40 +00:00
|
|
|
'freqai_rl': freqai_rl,
|
2021-05-27 12:00:13 +00:00
|
|
|
'all': all_extra,
|
|
|
|
},
|
2023-12-16 19:51:46 +00:00
|
|
|
url="https://github.com/freqtrade/freqtrade",
|
2021-05-27 12:00:13 +00:00
|
|
|
)
|