[WIP] Add Linux support#83
Open
jkirk wants to merge 2 commits into
Open
Conversation
scripts/linux/build is a modified version of scripts/windows/build.bat. It just takes the modified ./scripts/linux/update-version-info.py + the unmodified ./scripts/windows/git-xl-version-info.py files and uses them to build the binary via pyinstaller.
To fix the following error:
❯ pip install -r requirements.txt
Collecting colorama==0.3.9
Using cached colorama-0.3.9-py2.py3-none-any.whl (20 kB)
Collecting oletools==0.60
Using cached oletools-0.60-py2.py3-none-any.whl (968 kB)
ERROR: Ignored the following versions that require a different python version: 4.10 Requires-Python <3.11,>=3.6; 4.6 Requires-Python <3.11,>=3.6; 4.7 Requires-Python <3.11,>=3.6; 4.8 Requires-Python <3.11,>=3.6; 4.9 Requires-Python <3.11,>=3.6; 5.0 Requires-Python <3.11,>=3.7; 5.0.1 Requires-Python <3.11,>=3.7; 5.1 Requires-Python <3.11,>=3.7; 5.2 Requires-Python <3.11,>=3.7; 5.3 Requires-Python <3.11,>=3.7; 5.4 Requires-Python <3.11,>=3.7; 5.4.1 Requires-Python <3.11,>=3.7
ERROR: Could not find a version that satisfies the requirement pyinstaller==4.10 (from versions: 2.0, 2.1, 3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.3, 3.3.1, 3.4, 3.5, 3.6, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.5.1, 5.5, 5.6, 5.6.1, 5.6.2, 5.7.0, 5.8.0, 5.9.0, 5.10.0, 5.10.1, 5.11.0, 5.12.0, 5.13.0, 5.13.1, 5.13.2, 6.0.0, 6.1.0, 6.2.0, 6.3.0)
ERROR: No matching distribution found for pyinstaller==4.10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/linux/buildis a modified version ofscripts/windows/build.bat.It just takes the modified
./scripts/linux/update-version-info.py+ the unmodified./scripts/windows/git-xl-version-info.pyfiles and uses them to build the binary via pyinstaller.I also updated pytinstaller to fix the following problem:
It builds:
And
./git-xl-x64runs:But there are still things to do, to make it work and close #39. Until then, I mark this as
[WIP].