Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS build related electrum backports #280

Merged
merged 8 commits into from
Feb 23, 2023

Conversation

PiRK
Copy link
Collaborator

@PiRK PiRK commented Feb 23, 2023

Grab interesting Electrum commits to be able to bump the pyinstaller version, and hopefully make multiprocessing work for the generated MacOS package.

See #279 (comment)

In some places in the script if some directory name had spaces it could cause issues.

I also added quotes around a few other directory names that currently are hardcoded with names without spaces as a way to prevent any future mishap

backport of spesmilo@bc72e0f#diff-a506f45e9d57ded6cf91a31f441f3f2783a6b0383194912b63b85ebfb02921ffR114
The .pyc files would get created when a .py module is imported,
which is done during the build for some source files by pyinstaller
(when it analyses imports).

backport of spesmilo@659c00e
We are trying to make the macOS builds reproducible...
Compiling python from source on OSX seems to be very difficult in a reproducible way.
As a workaround, we make the same tradeoff the Windows binaries already have: we trust the python binaries distributed by python.org.

backport of spesmilo@4fd6282
It looks like the python installed from python.org does not install `pyinstaller` on the path.
note: newer versions of pyinstaller (4.4+ ?) want to sign the bundle
themselves, in which case modifying the Info.plist file after
pyinstaller returns invalidates the sig.
@PiRK PiRK merged commit e89727f into Bitcoin-ABC:master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant