NordicSemiconductor / pynrfjprog

Python wrapper around the nrfjprog dynamic link library (DLL)
Other
74 stars 26 forks source link

Bundle fixes #2

Closed martinhath closed 8 years ago

martinhath commented 8 years ago

Makes bundling the script on Windows possible. The first commit makes it so that the script initially tries to load the .dll without supplying the full path, while ignoring eventual errors.

The second commit applies a workaround to a known problem when using the multiprocessing module in a bundled program. The workaround is directly copied from here.

I don't think either of the changes will affect users who are not bundling their application.