jdxi_editor.bundle_imports ========================== .. py:module:: jdxi_editor.bundle_imports .. autoapi-nested-parse:: Imports the optional native stacks where a freezer can see them. FluidSynth, sounddevice, and LilyPond are otherwise imported from inside functions. PyInstaller and py2app do not follow those, and sounddevice only imports its PortAudio binaries when the system library is missing. The statements below are at module level, and :func:`pyinstaller_args` is what the Windows and Linux builds pass through. The LilyPond program itself stays an install on the machine. What is bundled is music21's translator, which calls it. Attributes ---------- .. autoapisummary:: jdxi_editor.bundle_imports.HIDDEN_IMPORTS jdxi_editor.bundle_imports.COLLECT_ALL jdxi_editor.bundle_imports.fluidsynth jdxi_editor.bundle_imports.sounddevice Functions --------- .. autoapisummary:: jdxi_editor.bundle_imports.pyinstaller_args Module Contents --------------- .. py:data:: HIDDEN_IMPORTS :value: ('fluidsynth', 'sounddevice', '_sounddevice', '_sounddevice_data', 'cffi', '_cffi_backend',... .. py:data:: COLLECT_ALL :value: ('_sounddevice_data', 'cffi') .. py:function:: pyinstaller_args() -> list[str] Flags that put these libraries, and their binaries, in a PyInstaller build. :return: list[str] .. py:data:: fluidsynth :value: None .. py:data:: sounddevice :value: None