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',
|
|
|
|
'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',
|
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',
|
|
|
|
'joblib',
|
2022-08-01 07:32:25 +00:00
|
|
|
'catboost; platform_machine != "aarch64"',
|
2022-07-31 13:10:01 +00:00
|
|
|
'lightgbm',
|
|
|
|
]
|
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
develop = [
|
|
|
|
'coveralls',
|
|
|
|
'flake8',
|
|
|
|
'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',
|
2021-09-21 21:52:12 +00:00
|
|
|
]
|
2019-08-09 02:09:15 +00:00
|
|
|
|
2022-07-31 13:10:01 +00:00
|
|
|
all_extra = plot + develop + jupyter + hyperopt + freqai
|
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
|
2022-05-20 04:55:51 +00:00
|
|
|
'ccxt>=1.83.12',
|
2021-05-27 12:00:13 +00:00
|
|
|
'SQLAlchemy',
|
|
|
|
'python-telegram-bot>=13.4',
|
|
|
|
'arrow>=0.17.0',
|
|
|
|
'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',
|
|
|
|
'tables',
|
|
|
|
'blosc',
|
|
|
|
'fastapi',
|
|
|
|
'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',
|
|
|
|
'schedule'
|
2021-05-27 12:00:13 +00:00
|
|
|
],
|
|
|
|
extras_require={
|
|
|
|
'dev': all_extra,
|
|
|
|
'plot': plot,
|
|
|
|
'jupyter': jupyter,
|
|
|
|
'hyperopt': hyperopt,
|
2022-07-31 13:10:01 +00:00
|
|
|
'freqai': freqai,
|
2021-05-27 12:00:13 +00:00
|
|
|
'all': all_extra,
|
|
|
|
},
|
|
|
|
)
|