Skip to content

Commit

Permalink
Check for _sounddevice_data directory in setup.py
Browse files Browse the repository at this point in the history
Without this, a non-Linux build from the tarball will fail, see #16.
  • Loading branch information
mgeier committed Jan 25, 2016
1 parent a092ff3 commit c69fb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
else:
libname = None

if libname:
if libname and os.path.isdir('_sounddevice_data'):
packages = ['_sounddevice_data']
package_data = {'_sounddevice_data': [libname, 'README.md']}
else:
Expand Down

0 comments on commit c69fb52

Please sign in to comment.