File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ set -euo pipefail
4+
35# Create a source distribution and platform-specific wheel distributions.
46
57PYTHON=python3
68
79make_wheel ()
810{
9- $PYTHON setup.py clean --all
1011 PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=$2 \
11- $PYTHON setup.py bdist_wheel
12+ $PYTHON -m build
1213}
1314
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-
2115# This is always 64bit:
2216make_wheel Darwin
2317
2418make_wheel Windows 32bit
2519
2620make_wheel Windows 64bit
2721
28- $PYTHON setup.py clean --all
22+ # This makes sure that the libraries are not copied to the final sdist:
23+ rm -rf sounddevice.egg-info/
24+
25+ # This creates a "pure" wheel:
26+ make_wheel Linux
You can’t perform that action at this time.
0 commit comments