mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-08-20 12:40:54 +08:00
112 lines
2.3 KiB
TOML
112 lines
2.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "optuna-dashboard"
|
|
description = "Real-time dashboard for Optuna"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Masashi Shibata", "email" = "mshibata@preferred.jp" }
|
|
]
|
|
requires-python = ">=3.7"
|
|
license = {text = "MIT License"}
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Intended Audience :: Science/Research",
|
|
]
|
|
dependencies = [
|
|
"bottle",
|
|
"optuna>=2.4.0",
|
|
"packaging",
|
|
"scikit-learn",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[project.optional-dependencies]
|
|
docs = [
|
|
"boto3",
|
|
"streamlit",
|
|
"sphinx",
|
|
"sphinx_rtd_theme",
|
|
]
|
|
|
|
test = [
|
|
"coverage",
|
|
"plotly",
|
|
"pytest",
|
|
"moto[s3]",
|
|
]
|
|
|
|
optional = [
|
|
"streamlit",
|
|
"boto3",
|
|
"botorch",
|
|
]
|
|
|
|
|
|
[project.scripts]
|
|
optuna-dashboard = "optuna_dashboard._cli:main"
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "optuna_dashboard.__version__"}
|
|
|
|
[tool.setuptools]
|
|
include-package-data = false
|
|
package-data = { "optuna_dashboard" = ["public/*", "img/*", "index.html"] }
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["optuna_dashboard*"]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/optuna/optuna-dashboard"
|
|
"Sources" = "https://github.com/optuna/optuna-dashboard"
|
|
"Bug Tracker" = "https://github.com/optuna/optuna-dashboard/issues"
|
|
|
|
[tool.black]
|
|
line-length = 99
|
|
target-version = ['py38']
|
|
exclude = '''
|
|
/(
|
|
\.eggs
|
|
| \.git
|
|
| \.mypy_cache
|
|
| \.venv
|
|
| _build
|
|
| build
|
|
| dist
|
|
| venv
|
|
| node_modules
|
|
)/
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = 'black'
|
|
src_paths = ['optuna', 'python_tests', 'docs']
|
|
skip_glob = ['docs/conf.py']
|
|
line_length = 99
|
|
lines_after_imports = 2
|
|
force_single_line = 'True'
|
|
force_sort_within_sections = 'True'
|
|
order_by_type = 'False'
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
disallow_untyped_defs = true
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--color=yes"
|
|
markers = [
|
|
"slow: marks tests as slow",
|
|
]
|