A small Python script to install wxWidgets and build automatically on Windows.
Tested on Windows 10/11 with Visual Studio 2022 (17)
GitHub Actions runs successfully on Windows 10/11 with Visual Studio 2019 (16) and 2022 (17). You can verify with the "Validate install" workflow running on a matrix of Python versions and Windows versions.
Workflow | Status |
---|---|
Validate install | |
Pytest with flake8 | |
Pylint | |
CodeQL | |
Qodana |
- Visual Studio with Desktop C++ installed
- Python 3 (Tested at minimum 3.8)
- Internet connection
This script downloads a specific release of wxWidgets and builds from that source and sets environment variables on the whole system.
Current configurations and architectures built are:
- Debug x64
- Debug Win32
- Release x64
- Release Win32
- Clone repository
- Run
pip install -r requirements.txt
- Open an administrative PowerShell or Command Prompt
- You may need to go to the Start Menu > Visual Studio (
Version
) > Developer ... > Right-click and Run as Administrator
- You may need to go to the Start Menu > Visual Studio (
cd
to your downloadedsetup.py
filepython .\setup.py