Skip to content

Compiling on Windows

Dan Lawrence edited this page Feb 14, 2023 · 13 revisions

The Basic Steps

  1. Clone/Checkout pygame-ce from github.
  2. Install Visual Studio Build tools
  3. Open a "Developer Command Prompt":

image

  1. cd into the pygame-ce directory on your PC.
  2. enter the following commands:
set DISTUTILS_USE_SDK=1
set MSSdk=1
python -m buildconfig --download
pip install .