For Cygwin without XFree86, the usual installation procedure is used:
python setup.py config python setup.py install
If you want to use Cygwin with the XFree86 implementation of the X Windows System, you need to add --x11 to these commands:
python setup.py config --x11 python setup.py install --x11
For Python versions older than 2.3, for the config step it is necessary to
specify the Cygwin compiler explicitly by adding --compiler=cygwin:
python setup.py config --compiler=cygwinor
python setup.py config --compiler=cygwin --x11The install command does not change.