Skip to content

Commit

Permalink
libdmtx.dylib
Browse files Browse the repository at this point in the history
  • Loading branch information
quicklizard99 committed Nov 3, 2016
1 parent 5507045 commit 0049e65
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions decode_barcodes.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,16 @@ a = Analysis(['gouda/scripts/decode_barcodes.py'],
cipher=block_cipher)

if 'darwin' == sys.platform:
# PyInstaller does not detect some dylibs, I think in some cases because they
# libdmtx dylib is not detected because it is loaded by a ctypes call in
# pylibdmtx
a.binaries += TOC([
('libdmtx.dylib', '/usr/local/Cellar/libdmtx/0.7.4/lib/libdmtx.dylib', 'BINARY'),
])

# PyInstaller does not detect some dylibs, in some cases (I think) because they
# are symlinked.
# See Stack Overflow post http://stackoverflow.com/a/17595149 for example
# of manipulating Analysis.binaries.

MISSING_DYLIBS = (
'libpng16.16.dylib',
'libz.1.dylib',
Expand Down

0 comments on commit 0049e65

Please sign in to comment.