We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b2460 commit f4607b3Copy full SHA for f4607b3
1 file changed
make_dist.sh
@@ -1,28 +1,26 @@
1
#!/bin/sh
2
3
+set -euo pipefail
4
+
5
# Create a source distribution and platform-specific wheel distributions.
6
7
PYTHON=python3
8
9
make_wheel()
10
{
- $PYTHON setup.py clean --all
11
PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=$2 \
- $PYTHON setup.py bdist_wheel
12
+ $PYTHON -m build
13
}
14
-rm -rf sounddevice.egg-info/
15
-$PYTHON setup.py clean --all
16
-$PYTHON setup.py sdist
17
-
18
-# This creates a "pure" wheel:
19
-make_wheel Linux
20
21
# This is always 64bit:
22
make_wheel Darwin
23
24
make_wheel Windows 32bit
25
26
make_wheel Windows 64bit
27
28
+# This makes sure that the libraries are not copied to the final sdist:
+rm -rf sounddevice.egg-info/
+# This creates a "pure" wheel:
+make_wheel Linux
0 commit comments