Skip to content

Commit 37a4687

Browse files
committed
[nabla-c0d3#588]Update Windows executable to Python 3.11
1 parent a28f562 commit 37a4687

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build_windows_exe.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
jobs:
88
build:
99

10-
runs-on: windows-2019
10+
runs-on: windows-2022
1111

1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Set up Python
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: 3.8
17+
python-version: "3.11"
1818

1919
- name: Install pip
2020
run: python -m pip install --upgrade pip setuptools wheel

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ faker
1414
types-pyOpenSSL
1515

1616
# For building the Windows executable
17-
cx-freeze==6.13.1; sys.platform == 'win32'
17+
cx-freeze==6.15.8; sys.platform == 'win32'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Create fake Executable that does nothing so the setup.py file can be used on Linux
1919
class Executable: # type: ignore
20-
def __init__(self, script, targetName): # type: ignore
20+
def __init__(self, script, target_name): # type: ignore
2121
pass
2222

2323

@@ -106,5 +106,5 @@ def get_include_files() -> List[Tuple[str, str]]:
106106
],
107107
# cx_freeze info for Windows builds with Python embedded
108108
options={"build_exe": {"packages": ["cffi", "cryptography"], "include_files": get_include_files()}},
109-
executables=[Executable(path.join("sslyze", "__main__.py"), targetName="sslyze.exe")],
109+
executables=[Executable(path.join("sslyze", "__main__.py"), target_name="sslyze.exe")],
110110
)

0 commit comments

Comments
 (0)