2020-12-05 01:40:27 +08:00
|
|
|
import setuptools
|
|
|
|
import os
|
|
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
|
|
with open("README.md", "r") as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
|
|
|
|
# Get the code version
|
|
|
|
version = {}
|
|
|
|
with open(os.path.join(here, "flaml/version.py")) as fp:
|
|
|
|
exec(fp.read(), version)
|
|
|
|
__version__ = version["__version__"]
|
|
|
|
|
|
|
|
install_requires = [
|
|
|
|
"NumPy>=1.16.2",
|
|
|
|
"lightgbm>=2.3.1",
|
|
|
|
"xgboost>=0.90",
|
|
|
|
"scipy>=1.4.1",
|
|
|
|
"catboost>=0.23",
|
2021-02-06 13:41:14 +08:00
|
|
|
"scikit-learn>=0.23.2",
|
2020-12-05 01:40:27 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
name="FLAML",
|
|
|
|
version=__version__,
|
|
|
|
author="Microsoft Corporation",
|
|
|
|
author_email="hpo@microsoft.com",
|
|
|
|
description="A fast and lightweight autoML system",
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://github.com/microsoft/FLAML",
|
2021-02-06 13:41:14 +08:00
|
|
|
packages=setuptools.find_packages(),
|
2020-12-05 01:40:27 +08:00
|
|
|
install_requires=install_requires,
|
|
|
|
extras_require={
|
|
|
|
"notebook": [
|
|
|
|
"openml==0.10.2",
|
|
|
|
"jupyter",
|
|
|
|
"matplotlib==3.2.0",
|
|
|
|
"rgf-python",
|
2021-06-03 10:08:24 +08:00
|
|
|
"vowpalwabbit",
|
2020-12-05 01:40:27 +08:00
|
|
|
],
|
|
|
|
"test": [
|
|
|
|
"flake8>=3.8.4",
|
|
|
|
"pytest>=6.1.1",
|
|
|
|
"coverage>=5.3",
|
2021-02-06 13:41:14 +08:00
|
|
|
"xgboost<1.3",
|
2020-12-16 00:10:43 +08:00
|
|
|
"rgf-python",
|
2021-07-25 08:10:43 +08:00
|
|
|
"optuna==2.8.0",
|
2021-06-03 10:08:24 +08:00
|
|
|
"vowpalwabbit",
|
|
|
|
"openml",
|
2021-06-09 23:37:03 +08:00
|
|
|
"transformers==4.4.1",
|
|
|
|
"wandb==0.10.26",
|
|
|
|
"torch==1.8.1",
|
|
|
|
"datasets==1.4.1",
|
2021-06-26 13:26:47 +08:00
|
|
|
"azure-storage-blob",
|
2021-08-24 04:26:46 +08:00
|
|
|
"statsmodels>=0.12.2"
|
2021-02-14 02:43:11 +08:00
|
|
|
],
|
|
|
|
"blendsearch": [
|
2021-07-25 08:10:43 +08:00
|
|
|
"optuna==2.8.0"
|
2021-02-06 13:41:14 +08:00
|
|
|
],
|
|
|
|
"ray": [
|
2021-08-03 07:10:26 +08:00
|
|
|
"ray[tune]==1.5.1",
|
2021-04-09 00:29:55 +08:00
|
|
|
"pyyaml<5.3.1",
|
2021-02-06 13:41:14 +08:00
|
|
|
],
|
|
|
|
"azureml": [
|
2021-03-01 04:43:43 +08:00
|
|
|
"azureml-mlflow",
|
2020-12-05 01:40:27 +08:00
|
|
|
],
|
2021-03-01 04:43:43 +08:00
|
|
|
"nni": [
|
|
|
|
"nni",
|
2021-04-07 02:37:52 +08:00
|
|
|
],
|
2021-06-03 10:08:24 +08:00
|
|
|
"vw": [
|
|
|
|
"vowpalwabbit",
|
2021-06-15 05:11:40 +08:00
|
|
|
],
|
|
|
|
"nlp": [
|
2021-08-03 07:10:26 +08:00
|
|
|
"ray[tune]>=1.5.1",
|
2021-06-15 05:11:40 +08:00
|
|
|
"transformers",
|
2021-06-16 00:55:23 +08:00
|
|
|
"datasets==1.4.1",
|
2021-07-06 09:17:26 +08:00
|
|
|
"tensorboardX<=2.2",
|
2021-06-15 05:11:40 +08:00
|
|
|
"torch"
|
2021-08-24 04:26:46 +08:00
|
|
|
],
|
|
|
|
"forecast": [
|
|
|
|
"prophet>=1.0.1",
|
|
|
|
"statsmodels>=0.12.2"
|
2021-06-03 10:08:24 +08:00
|
|
|
]
|
2020-12-05 01:40:27 +08:00
|
|
|
},
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
2021-04-09 00:29:55 +08:00
|
|
|
"Operating System :: OS Independent",
|
2020-12-05 01:40:27 +08:00
|
|
|
],
|
|
|
|
python_requires=">=3.6",
|
|
|
|
)
|