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

[Fix] ci: Use Unix paths for PyInstaller spec #20

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

digitalf0x
Copy link
Contributor

In short

Details

PyInstaller claims that either Windows or Unix paths should work, and the old method of using Unix paths appeared to successfully generate working Windows binaries. I'm not sure why using Windows paths fails, though.

For now, use Unix paths. If necessary, os.path.join(...) could be used instead.

One example is Bubble Tanks 2 which has a Windows build and yet it uses / for path separators.

PyInstaller claims that either Windows or Unix paths should work, and
the old method of using Unix paths appeared to successfully generate
working Windows binaries.  I'm not sure why using Windows paths fails,
though.

For now, use Unix paths.  If necessary, "os.path.join(...)" could be
used instead.

Partially reverts b91dfdf

See https://pyinstaller.org/en/stable/spec-files.html
And https://github.com/IldarRyabkov/BubbleTanks2/blob/main/src/setup.spec
@Z4urce Z4urce merged commit 9bfa945 into Z4urce:main Nov 14, 2024
2 checks passed
@digitalf0x digitalf0x deleted the fix-ci-unixpath branch November 15, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants