summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2016-04-24 14:54:54 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2016-04-24 14:54:54 +0200
commit1886672a10b4e989f1f8dba4b129a05823bfbd2d (patch)
treee258bd080318a69b0c8ebbc3c7e8153adbeca344
parentc3631e329a17261fa71dce2d84265c69445708e5 (diff)
Add zip_safe flag to setup.py
-rw-r--r--setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index da283ce..d57789f 100644
--- a/setup.py
+++ b/setup.py
@@ -35,9 +35,11 @@ else:
if libname and os.path.isdir('_sounddevice_data'):
packages = ['_sounddevice_data']
package_data = {'_sounddevice_data': [libname, 'README.md']}
+ zip_safe = False
else:
packages = None
package_data = None
+ zip_safe = True
try:
from wheel.bdist_wheel import bdist_wheel
@@ -68,6 +70,7 @@ setup(
py_modules=["sounddevice"],
packages=packages,
package_data=package_data,
+ zip_safe=zip_safe,
install_requires=["CFFI"],
extras_require={"NumPy": ["NumPy"]},
author="Matthias Geier",