From c69fb5295bac3e31fdc435e5d5fefca688a9fd3c Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Mon, 25 Jan 2016 09:55:00 +0100 Subject: Check for _sounddevice_data directory in setup.py Without this, a non-Linux build from the tarball will fail, see #16. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bcf947c..da283ce 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ elif system == 'Windows': else: libname = None -if libname: +if libname and os.path.isdir('_sounddevice_data'): packages = ['_sounddevice_data'] package_data = {'_sounddevice_data': [libname, 'README.md']} else: -- cgit v1.2.3