File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,13 @@ set -euo pipefail
44
55# Create a source distribution and platform-specific wheel distributions.
66
7- PYTHON=" uv run --locked --with build python"
8-
97make_wheel ()
108{
119 # This makes sure that only the appropriate libraries are copied:
12- rm -rf sounddevice.egg-info /
10+ rm -rf build /
1311
14- PYTHON_SOUNDDEVICE_PLATFORM= $1 PYTHON_SOUNDDEVICE_ARCHITECTURE= ${2 :- } \
15- $PYTHON -m build
12+ # This builds an sdist (including libs) and uses that to build a wheel:
13+ PYTHON_SOUNDDEVICE_PLATFORM= $1 PYTHON_SOUNDDEVICE_ARCHITECTURE= ${2 :- } uv build
1614}
1715
1816# This is always 64bit:
@@ -26,3 +24,5 @@ make_wheel Windows arm64
2624
2725# This creates a "pure" wheel and an sdist without libraries:
2826make_wheel Linux
27+
28+ # NB: "Linux" must be last to get a clean sdist!
You can’t perform that action at this time.
0 commit comments