Skip to content

Commit 11992d9

Browse files
authored
Merge pull request #291 from davidhewitt/fix-bundle-examples
packaging: fix missing `examples/` from sdist
2 parents 972d528 + 818d847 commit 11992d9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ jobs:
2323
with:
2424
python-version: '3.x'
2525
- name: Install dependencies
26+
# Install build and packaging dependencies.
27+
# setuptools-scm is necessary for ensuring all files from VCS (such as
28+
# examples) are in the sdist.
2629
run: |
27-
pip install --upgrade pip setuptools wheel twine
30+
pip install --upgrade pip setuptools wheel twine setuptools-scm
2831
- name: Build and publish
2932
env:
3033
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

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

78
## 1.5.1 (2022-08-14)
89
### Fixed

0 commit comments

Comments
 (0)