Skip to content

Commit

Permalink
Build / publish sdist package to pypi as well (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred authored Jun 7, 2023
1 parent c55fb70 commit 84f13fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ jobs:
CIBW_BUILD: cp${{matrix.python-version}}-*
CIBW_ARCHS_LINUX: ${{ matrix.cibw-arch }}

- name: Build sdist
run: |
pip install build
python -m build . --sdist -o wheelhouse
if: ${{ matrix.python-version == '311' && runner.os == 'Linux' }}

- name: Rename Wheels
run: |
python ci/rename_wheels.py
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ include LICENSE
include tox.ini
include pyproject.toml
include setup.cfg
prune _skbuild

0 comments on commit 84f13fb

Please sign in to comment.