ruff format: Update setup

This commit is contained in:
Matthias 2024-05-12 18:03:54 +02:00
parent b97ff77d65
commit 5d4a930188

183
setup.py
View File

@ -2,127 +2,126 @@ from setuptools import setup
# Requirements used for submodules # Requirements used for submodules
plot = ['plotly>=4.0'] plot = ["plotly>=4.0"]
hyperopt = [ hyperopt = [
'scipy', "scipy",
'scikit-learn', "scikit-learn",
'ft-scikit-optimize>=0.9.2', "ft-scikit-optimize>=0.9.2",
'filelock', "filelock",
] ]
freqai = [ freqai = [
'scikit-learn', "scikit-learn",
'joblib', "joblib",
'catboost; platform_machine != "aarch64"', 'catboost; platform_machine != "aarch64"',
'lightgbm', "lightgbm",
'xgboost', "xgboost",
'tensorboard', "tensorboard",
'datasieve>=0.1.5' "datasieve>=0.1.5",
] ]
freqai_rl = [ freqai_rl = [
'torch', "torch",
'gymnasium', "gymnasium",
'stable-baselines3', "stable-baselines3",
'sb3-contrib', "sb3-contrib",
'tqdm' "tqdm",
] ]
hdf5 = [ hdf5 = [
'tables', "tables",
'blosc', "blosc",
] ]
develop = [ develop = [
'coveralls', "coveralls",
'isort', "isort",
'mypy', "mypy",
'pre-commit', "pre-commit",
'pytest-asyncio', "pytest-asyncio",
'pytest-cov', "pytest-cov",
'pytest-mock', "pytest-mock",
'pytest-random-order', "pytest-random-order",
'pytest', "pytest",
'ruff', "ruff",
'time-machine', "time-machine",
'types-cachetools', "types-cachetools",
'types-filelock', "types-filelock",
'types-python-dateutil' "types-python-dateutil" "types-requests",
'types-requests', "types-tabulate",
'types-tabulate',
] ]
jupyter = [ jupyter = [
'jupyter', "jupyter",
'nbstripout', "nbstripout",
'ipykernel', "ipykernel",
'nbconvert', "nbconvert",
] ]
all_extra = plot + develop + jupyter + hyperopt + hdf5 + freqai + freqai_rl all_extra = plot + develop + jupyter + hyperopt + hdf5 + freqai + freqai_rl
setup( setup(
tests_require=[ tests_require=[
'pytest', "pytest",
'pytest-asyncio', "pytest-asyncio",
'pytest-cov', "pytest-cov",
'pytest-mock', "pytest-mock",
], ],
install_requires=[ install_requires=[
# from requirements.txt # from requirements.txt
'ccxt>=4.2.47', "ccxt>=4.2.47",
'SQLAlchemy>=2.0.6', "SQLAlchemy>=2.0.6",
'python-telegram-bot>=20.1', "python-telegram-bot>=20.1",
'humanize>=4.0.0', "humanize>=4.0.0",
'cachetools', "cachetools",
'requests', "requests",
'httpx>=0.24.1', "httpx>=0.24.1",
'urllib3', "urllib3",
'jsonschema', "jsonschema",
'numpy', "numpy",
'pandas>=2.2.0,<3.0', "pandas>=2.2.0,<3.0",
'TA-Lib', "TA-Lib",
'pandas-ta', "pandas-ta",
'technical', "technical",
'tabulate', "tabulate",
'pycoingecko', "pycoingecko",
'py_find_1st', "py_find_1st",
'python-rapidjson', "python-rapidjson",
'orjson', "orjson",
'colorama', "colorama",
'jinja2', "jinja2",
'questionary', "questionary",
'prompt-toolkit', "prompt-toolkit",
'joblib>=1.2.0', "joblib>=1.2.0",
'rich', "rich",
'pyarrow; platform_machine != "armv7l"', 'pyarrow; platform_machine != "armv7l"',
'fastapi', "fastapi",
'pydantic>=2.2.0', "pydantic>=2.2.0",
'pyjwt', "pyjwt",
'websockets', "websockets",
'uvicorn', "uvicorn",
'psutil', "psutil",
'schedule', "schedule",
'janus', "janus",
'ast-comments', "ast-comments",
'aiofiles', "aiofiles",
'aiohttp', "aiohttp",
'cryptography', "cryptography",
'sdnotify', "sdnotify",
'python-dateutil', "python-dateutil",
'pytz', "pytz",
'packaging', "packaging",
'freqtrade-client', "freqtrade-client",
], ],
extras_require={ extras_require={
'dev': all_extra, "dev": all_extra,
'plot': plot, "plot": plot,
'jupyter': jupyter, "jupyter": jupyter,
'hyperopt': hyperopt, "hyperopt": hyperopt,
'hdf5': hdf5, "hdf5": hdf5,
'freqai': freqai, "freqai": freqai,
'freqai_rl': freqai_rl, "freqai_rl": freqai_rl,
'all': all_extra, "all": all_extra,
}, },
url="https://github.com/freqtrade/freqtrade", url="https://github.com/freqtrade/freqtrade",
) )