Fix setuptools attr: error

This commit is contained in:
c-bata
2022-02-17 17:56:11 +09:00
parent 46025b15a7
commit 35cf7b68ff
4 changed files with 5 additions and 3 deletions
+3
View File
@@ -1,2 +1,5 @@
from .app import run_server # noqa
from .app import wsgi # noqa
__version__ = "0.5.0"
+1 -1
View File
@@ -6,8 +6,8 @@ from optuna.storages import BaseStorage
from optuna.storages import RDBStorage
from optuna.storages import RedisStorage
from . import __version__
from .app import create_app
from .version import __version__
AUTO_RELOAD = os.environ.get("OPTUNA_DASHBOARD_AUTO_RELOAD") == "1"
-1
View File
@@ -1 +0,0 @@
__version__ = "0.5.0"
+1 -1
View File
@@ -1,6 +1,6 @@
[metadata]
name = optuna-dashboard
version = attr: optuna_dashboard.version.__version__
version = attr: optuna_dashboard.__version__
url = https://github.com/optuna/optuna-dashboard
author = Masashi Shibata