Skip to content

Commit

Permalink
build sdist by hand
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Mar 6, 2024
1 parent b27aeb4 commit 0a61861
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/cd.yml
Expand Up @@ -27,7 +27,18 @@ jobs:
with:
fetch-depth: 0

- uses: hynek/build-and-inspect-python-package@v2
# NOTE: For simplicity, we only want to ship the sdist, and this action doesn't
# support turning of wheels
# - uses: hynek/build-and-inspect-python-package@v2
- name: Build sdist
run: |
python -m pip install --upgrade build
python -m build --sdist .
- uses: actions/upload-artifact@v4
with:
name: Packages
path: dist/*

# Upload to Test PyPI on every commit on main.
test-publish:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Expand Up @@ -2,7 +2,6 @@
requires = [
"setuptools>=64",
"setuptools_scm>=8",
"wheel",
"numpy",
"scipy",
"cython",
Expand Down

0 comments on commit 0a61861

Please sign in to comment.