install hyperopt seperately ([hyperopt])

This commit is contained in:
Matthias 2019-09-24 15:03:40 +02:00
parent 47b6b56566
commit d2f2473070

View File

@ -18,6 +18,13 @@ if readme_file.is_file():
# Requirements used for submodules # Requirements used for submodules
api = ['flask'] api = ['flask']
plot = ['plotly>=4.0'] plot = ['plotly>=4.0']
hyperopt = [
'scipy',
'scikit-learn',
'scikit-optimize',
'filelock',
'joblib',
]
develop = [ develop = [
'coveralls', 'coveralls',
@ -38,7 +45,7 @@ jupyter = [
'ipykernel', 'ipykernel',
] ]
all_extra = api + plot + develop + jupyter all_extra = api + plot + develop + jupyter + hyperopt
setup(name='freqtrade', setup(name='freqtrade',
version=__version__, version=__version__,
@ -62,14 +69,10 @@ setup(name='freqtrade',
'requests', 'requests',
'urllib3', 'urllib3',
'wrapt', 'wrapt',
'scikit-learn',
'joblib',
'jsonschema', 'jsonschema',
'TA-Lib', 'TA-Lib',
'tabulate', 'tabulate',
'coinmarketcap', 'coinmarketcap',
'scikit-optimize',
'filelock',
'py_find_1st', 'py_find_1st',
'python-rapidjson', 'python-rapidjson',
'sdnotify', 'sdnotify',
@ -77,15 +80,14 @@ setup(name='freqtrade',
# from requirements.txt # from requirements.txt
'numpy', 'numpy',
'pandas', 'pandas',
'scipy',
], ],
extras_require={ extras_require={
'api': api, 'api': api,
'dev': all_extra, 'dev': all_extra,
'plot': plot, 'plot': plot,
'all': all_extra,
'jupyter': jupyter, 'jupyter': jupyter,
'hyperopt': hyperopt,
'all': all_extra,
}, },
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,