Re: [PyInstaller] pyinstaller not working with gphoto2; how do i force a brew library into the build

2020-04-03 Thread Abasi Brown
1. Try opening the spec file and after the line that says 'block_cipher = None' put: def get_libgphoto2_path(): import libgphoto2 libgphoto2_path = libgphoto2.__path__[0] return libgphoto2_path 2. Then after the lines that say 'pyz = PYZ(a.pure, a.zipped_data,

Re: [PyInstaller] pyinstaller not working with gphoto2; how do i force a brew library into the build

2020-04-03 Thread Abasi Brown
1. Try opening the spec file and after the line that says 'block_cipher = None' put: def get_gphoto2_path(): import gphoto2 gphoto2_path = gphoto2.__path__[0] return gphoto2_path 2. Then after the lines that say 'pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)' put:

[PyInstaller] pyinstaller not working with gphoto2; how do i force a brew library into the build

2020-04-03 Thread Craigs List
I'm attempting to build a project with gphoto2. gphoto2 requires brew install libgphoto2. The binary is created successfully, but when I run the binary on a machine that doesn't have libgphoto2, it fails. once i brew install the package is continues to work. help? -- You received this