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

  4. cd into the pygame-ce directory on your PC.

  5. enter the following commands:

set DISTUTILS_USE_SDK=1
set MSSdk=1
python -m buildconfig --download
pip install .