Skip to content

Commit

Permalink
packaging: use setuptools-scm to include all files in sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Sep 19, 2022
1 parent 972d528 commit 818d847
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ jobs:
with:
python-version: '3.x'
- name: Install dependencies
# Install build and packaging dependencies.
# setuptools-scm is necessary for ensuring all files from VCS (such as
# examples) are in the sdist.
run: |
pip install --upgrade pip setuptools wheel twine
pip install --upgrade pip setuptools wheel twine setuptools-scm
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Unreleased
### Fixed
- Fix regression in `dylib` build artifacts not being found since 1.5.0. [#280](https://github.com/PyO3/setuptools-rust/pull/280)
- Fix regression in `dylib` build artifacts not being found since 1.5.0. [#290](https://github.com/PyO3/setuptools-rust/pull/290)
- Fix regression in sdist missing examples and other supplementary files since 1.5.0. [#291](https://github.com/PyO3/setuptools-rust/pull/291)

## 1.5.1 (2022-08-14)
### Fixed
Expand Down

0 comments on commit 818d847

Please sign in to comment.