- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 210
 
Compiling on Windows
- 
Clone/Checkout pygame-ce from github.
 - 
Install Visual Studio Build tools. Make sure you Install the "Desktop Development with C++" option (including optional components) to get the latest Visual Studio C compiler. See:

 - 
Open a "Developer Command Prompt":

Note:
You'll want to make sure you're using the correct developer command prompt for your python architecture. If you're using 32-bit python, then look for
vcvars32.batand if you're using 64-bit python, then look forvcvars64.bat. Both of these files are installed if you did step 2 correctly, and the path will look something likeC:\Program Files (x86)\Microsoft Visual Studio\$(year)\BuildTools\VC\Auxiliary\Build\vcvars(32/64).bat. Run the appropriate batch file in a command prompt to create a developer command prompt. - 
cdinto the pygame-ce directory on your PC. - 
enter the following commands:
 
set DISTUTILS_USE_SDK=1
set MSSdk=1
python -m buildconfig --download
pip install .- 
It should look a bit like this when it starts going:
