Skip to content

Commit

Permalink
Add --sdist --wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
keisuke-umezawa committed Mar 5, 2024
1 parent 7a9a251 commit 54d8b1f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 54d8b1f

Please sign in to comment.