mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-13 12:50:51 +08:00
Delete setup command
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install --progress-bar off wheel twine
|
||||
- run: python setup.py sdist bdist_wheel
|
||||
- run: python -m build
|
||||
- run: twine check dist/*
|
||||
|
||||
- name: Create GitHub release
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install --progress-bar off wheel twine
|
||||
- run: python setup.py sdist bdist_wheel
|
||||
- run: python -m buil
|
||||
|
||||
- name: Publish distribution to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
@@ -18,7 +18,6 @@ RUN pip install --upgrade pip setuptools
|
||||
RUN pip install --progress-bar off PyMySQL[rsa] psycopg2-binary gunicorn optuna-fast-fanova
|
||||
|
||||
ADD ./pyproject.toml /usr/src/pyproject.toml
|
||||
ADD ./setup.py /usr/src/setup.py
|
||||
ADD ./optuna_dashboard /usr/src/optuna_dashboard
|
||||
COPY --from=front-builder /usr/src/optuna_dashboard/public/ /usr/src/optuna_dashboard/public/
|
||||
RUN pip install --progress-bar off .
|
||||
|
||||
@@ -32,11 +32,11 @@ vscode-extension: vscode/assets/bundle.js
|
||||
|
||||
.PHONY: sdist
|
||||
sdist: pyproject.toml $(DASHBOARD_TS_OUT)
|
||||
python setup.py sdist
|
||||
python -m build
|
||||
|
||||
.PHONY: wheel
|
||||
wheel: pyproject.toml $(DASHBOARD_TS_OUT)
|
||||
python setup.py bdist_wheel
|
||||
python -m build
|
||||
|
||||
.PHONY: docs
|
||||
docs: docs/conf.py $(RST_FILES)
|
||||
|
||||
@@ -48,7 +48,7 @@ Please clone the git repository and execute following commands to build sdist pa
|
||||
# Node.js v16 is required to compile TypeScript files.
|
||||
$ npm install
|
||||
$ npm run build:prd
|
||||
$ python setup.py sdist
|
||||
$ python -m build
|
||||
|
||||
Then you can install it like:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user