Packaging Your Program with Pyinstaller

If you have written a Python program that uses Zaber Motion Library and are trying to use pyinstaller to package it up for your users, you may encounter trouble stemming from the fact that Zaber Motion Library internally uses a binary shared library that must also be bundled.

We provide a complete example of how to do this in our Examples repo here.

The key point that most people overlook is using the --onefile and --add-binary command line options of pyinstaller.