Merge pull request #824 from keisuke-umezawa/feature/delete-setup

Delete setup.py
This commit is contained in:
c-bata
2024-03-07 08:57:27 +09:00
committed by GitHub
6 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install --progress-bar off wheel twine
- run: python setup.py sdist bdist_wheel
pip install --progress-bar off wheel twine build
- run: python -m build --sdist --wheel
- run: twine check dist/*
- name: Create GitHub release
+1 -1
View File
@@ -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 build --sdist --wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
-1
View File
@@ -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 .
+2 -2
View File
@@ -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 --sdist
.PHONY: wheel
wheel: pyproject.toml $(DASHBOARD_TS_OUT)
python setup.py bdist_wheel
python -m build --wheel
.PHONY: docs
docs: docs/conf.py $(RST_FILES)
+1 -1
View File
@@ -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 --sdist
Then you can install it like:
-5
View File
@@ -1,5 +0,0 @@
from setuptools import setup
if __name__ == "__main__":
setup()