Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #370 from NordicSemiconductor/fix/pyinstaller-antlib
Browse files Browse the repository at this point in the history
Fix antlib location in bundled pyinstaller executable
  • Loading branch information
jornbh authored Jul 6, 2022
2 parents 3cba043 + c809f60 commit 7007fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nrfutil.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (sys.platform == "win32"):
module_ant = importlib.import_module('antlib')
mod_dir_ant = os.path.dirname(module_ant.__file__)
shlib_dir_ant = os.path.abspath(mod_dir_ant)
datas.append((shlib_dir_ant, '.'))
datas.append((shlib_dir_ant, 'antlib'))

nrfutil_path = os.path.dirname(os.path.abspath(SPEC))
datas.append((os.path.join(nrfutil_path, "libusb", "x64", "libusb-1.0.dylib"), os.path.join("libusb", "x64")))
Expand Down

0 comments on commit 7007fe2

Please sign in to comment.