diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2015-07-01 17:12:27 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2015-07-01 17:27:07 +0200 |
| commit | 1689a1642e054750d9e17574eb012f242f0991c0 (patch) | |
| tree | 8a309cf67a37cab47ee17ec8ed339a800d2158c4 /make_dist.sh | |
| parent | 0529a60f464801f27817817b68410e5cd1e088f6 (diff) | |
Add submodule with binaries and adapt setup procedure
Diffstat (limited to 'make_dist.sh')
| -rwxr-xr-x | make_dist.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/make_dist.sh b/make_dist.sh new file mode 100755 index 0000000..0713b49 --- /dev/null +++ b/make_dist.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +# Create a source distribution and platform-specific wheel distributions. + +PYTHON=python3 + +make_wheel() +{ + $PYTHON setup.py clean --all + PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=$2 \ + $PYTHON setup.py bdist_wheel +} + +rm -rf sounddevice.egg-info/ +$PYTHON setup.py clean --all + +$PYTHON setup.py sdist + +# This creates a "pure" wheel: +make_wheel Linux + +# This is always 64bit: +make_wheel Darwin + +make_wheel Windows 32bit + +make_wheel Windows 64bit + +$PYTHON setup.py clean --all |
