From 54d8b1f1e9363957656f9d6834a3217bdc92f58d Mon Sep 17 00:00:00 2001 From: keisuke-umezawa Date: Tue, 5 Mar 2024 14:58:09 +0900 Subject: [PATCH] Add --sdist --wheel --- .github/workflows/github-release.yml | 2 +- .github/workflows/pypi-publish.yml | 2 +- Makefile | 4 ++-- docs/getting-started.rst | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 13fc17b6..469c2e58 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -27,7 +27,7 @@ jobs: run: | python -m pip install --upgrade pip setuptools pip install --progress-bar off wheel twine - - run: python -m build + - run: python -m build --sdist --wheel - run: twine check dist/* - name: Create GitHub release diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 7d79419e..d9a810af 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -29,7 +29,7 @@ jobs: run: | python -m pip install --upgrade pip setuptools pip install --progress-bar off wheel twine - - run: python -m buil + - run: python -m build --sdist --wheel - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/Makefile b/Makefile index 917e4aac..184b59df 100644 --- a/Makefile +++ b/Makefile @@ -32,11 +32,11 @@ vscode-extension: vscode/assets/bundle.js .PHONY: sdist sdist: pyproject.toml $(DASHBOARD_TS_OUT) - python -m build + python -m build --sdist .PHONY: wheel wheel: pyproject.toml $(DASHBOARD_TS_OUT) - python -m build + python -m build --wheel .PHONY: docs docs: docs/conf.py $(RST_FILES) diff --git a/docs/getting-started.rst b/docs/getting-started.rst index f0b8ac89..5d84e8aa 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -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 -m build + $ python -m build --sdist Then you can install it like: