mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Add setup.py
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
*.pyc
|
||||
__pycache__/
|
||||
venv/
|
||||
.eggs/
|
||||
*.egg-info
|
||||
dist/
|
||||
build/
|
||||
|
||||
node_modules/
|
||||
public/
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
def get_long_description() -> str:
|
||||
|
||||
readme_filepath = os.path.join(os.path.dirname(__file__), "README.md")
|
||||
with open(readme_filepath) as f:
|
||||
return f.read()
|
||||
|
||||
setup(
|
||||
name="optuna-dashboard",
|
||||
version="0.0.1",
|
||||
description="Web dashboard for Optuna.",
|
||||
long_description=get_long_description(),
|
||||
long_description_content_type="text/markdown",
|
||||
author="Masashi Shibata",
|
||||
author_email="m.shibata1020@gmail.com",
|
||||
url="https://github.com/c-bata/optuna-dashboard",
|
||||
packages=find_packages(),
|
||||
install_requires=["optuna", "bottle"],
|
||||
extras_require={
|
||||
"lint": ["black", "flake8"],
|
||||
"release": ["wheel", "twine"],
|
||||
},
|
||||
package_data={"optuna_dashboard": ["public/*"]},
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"optuna-dashboard = optuna_dashboard.cli:main",
|
||||
],
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user