Skip to content

Commit

Permalink
fix: use pdm config to set distribution setting
Browse files Browse the repository at this point in the history
  • Loading branch information
polischuks committed Feb 3, 2025
1 parent a8993b8 commit d015298
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ jobs:
# Convert poetry project to pdm
pdm import -f poetry pyproject.toml
# Initialize PDM project
# Initialize PDM project and enable distribution
pdm init -n
# Enable distribution in pyproject.toml
echo -e "\n[tool.pdm]\ndistribution = true" >> pyproject.toml
pdm config distribution true
# Build wheel with bundled dependencies
pdm build --no-sdist
Expand Down

0 comments on commit d015298

Please sign in to comment.