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

Upgrade and support cx_Freeze > 7 by updating our setup #255

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ def package(session):
# If Windows, create the cx_Freeze executable
if sys.platform == "win32":
session.warn("Running in Windows, generating the cx_Freeze executable...")
# NOTE: we install cx_Freeze < 7 by now, as setup.py is no longer working with newer
# versions. We should fix this at some point.
session.install("cx_Freeze<7")
session.install("-r", "requirements-win32.txt")
session.run("python", "setup.py", "build")
for i in res_files:
session.run(
Expand Down
1 change: 1 addition & 0 deletions requirements-win32.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cx_Freeze==7.2.8; sys_platform == "win32"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
executables=[
Executable(
"main.py",
base="Win32GUI",
base="gui",
)
],
)
Loading