Das ganze geht super mit Cython.
- Downloaden
- zu Python hinzufügen (setup.py install)
- py Dastei in pyx umbenennen
- setup-datei erstellen
- "python setup.py build_ext --inplace" oder "python setup.py build_ext --compiler=mingw32 --inplace" ausführen
http://docs.cython.org/src/userguide/tutorial.html
Python(x,y) hat zum Beispiel Cython integriert, falls das hinzufügen von Cython schwierigkeiten macht.
Hierbei beim Installieren Cython auswählen.