I am creating a game engine using Pygame on Windows, but my program uses a lot of CPU-intensive loops, so it is quite slow at rendering. I am using the drawPixel function to make my own custom renderer, so I can do pixel-perfect collision more programmatically, so I am using PyPy to speed up my loops. I know though that all Python modules you use have to be put in the PyPy folder, but I can't persuade the pygame installer (Either the source "setup.py" or the old installer (The fullscreen one) or the new installer to install to a custom directory.
I would either like help getting setup.py to install in a specific directory, or installing pygame in a custom directory.
Thanks in advance,
VeryAwkwardCake