diff options
| author | tgarc <toemossgarcia@gmail.com> | 2017-09-20 16:17:54 -0500 |
|---|---|---|
| committer | tdos.apone <toemossgarcia@gmail.com> | 2017-10-14 14:12:23 -0500 |
| commit | 0e9187adfc4bc746da94cb06fc5fea01822e7c1c (patch) | |
| tree | c04a7e6f451334f3bc746e4ea6cf73e5e106899f /setup.py | |
| parent | 132e924f5edeaa8ca128ba8ae97ea0371d334e3d (diff) | |
switch to cffi out-of-line ABI mode
switch to out of line mode to improve sounddevice module import time.
this adds a separate sounddevice_build.py file that becomes part of
the setup.py build process and is only run once at install time rather
than everytime the module is imported
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,8 +71,10 @@ setup( packages=packages, package_data=package_data, zip_safe=zip_safe, + setup_requires=["CFFI>=1.0"], install_requires=['CFFI>=1.0'], extras_require={'NumPy': ['NumPy']}, + cffi_modules=["sounddevice_build.py:ffibuilder"], author='Matthias Geier', author_email='Matthias.Geier@gmail.com', description='Play and Record Sound with Python', |
