Skip to content

Conversation

@crwood
Copy link
Member

@crwood crwood commented Jan 16, 2022

This PR drops the python2-based frozen-tahoe and magic-folder "make" targets and associated PyInstaller configurations in favor of a more unified, python3-only approach. Tooling for managing dependency-pins/hashes has also been updated similarly (with Gridsync more-or-less copying the pip-compile-based workflow from the Magic-Folder project) in hopes of simplifying future maintenance.

In addition, a new pyinstaller-merged make target has been provided (which make pyinstaller is now "aliased" to by default) that leverages PyInstaller's multipackage bundles feature, drastically reducing the filesize of the final package (between ~18% to ~26%, depending on the platform). Users who, for whatever reason, wish to build Gridsync packages the "old" way (i.e., by creating Tahoe-LAFS and Magic-Folder PyInstaller bundles separately and copying them into the Gridsync one) may still do so via the make pyinstaller-separate target.

crwood added 30 commits January 6, 2022 13:56
This will need to be regenerated later for Python 3
Otherwise, on python3, this raises "TypeError: '<' not supported between
instances of 'str' and 'tuple'"
Otherwise, on python3, this raises "builtins.UnicodeDecodeError: 'utf-8'
codec can't decode byte 0x80 in position 0: invalid start byte"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants