jdxi_editor.bundle_imports

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 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

HIDDEN_IMPORTS

COLLECT_ALL

fluidsynth

sounddevice

Functions

pyinstaller_args() → list[str]

Flags that put these libraries, and their binaries, in a PyInstaller build.

Module Contents

jdxi_editor.bundle_imports.HIDDEN_IMPORTS = ('fluidsynth', 'sounddevice', '_sounddevice', '_sounddevice_data', 'cffi', '_cffi_backend',...[source]
jdxi_editor.bundle_imports.COLLECT_ALL = ('_sounddevice_data', 'cffi')[source]
jdxi_editor.bundle_imports.pyinstaller_args() → list[str][source]

Flags that put these libraries, and their binaries, in a PyInstaller build.

Returns:

list[str]

jdxi_editor.bundle_imports.fluidsynth = None[source]
jdxi_editor.bundle_imports.sounddevice = None[source]