renpy / pygame_sdl2

Reimplementation of portions of the pygame API using SDL2.
GNU Lesser General Public License v2.1
325 stars 63 forks source link

Fix the cython command path when using a virtualenv on Windows #110

Closed Meithal closed 1 month ago

Meithal commented 5 years ago

On my version on windows, the python.exe of my virtualenv was located in the Script folder, thus looking for cython in Scripts would look into Scripts/Scripts/ and not finding cython.exe executable, that should fix the issue.

Meithal commented 5 years ago

The more underlying issue is that the install script assumes that on windows we don't use a virtualenv, in a regular python setup the python.exe will be in the root directory while cython would be in a Scripts subdirectory, but in a virtualenv, both python.exe and cython.exe are in the same Scripts directory.

I initialy thought that the bug happened because the fn path was linux formated, so as side effect there is a fix for that, but that may not be necessary.

renpytom commented 1 month ago

Closing this, as building pygame_sdl2 outside of Ren'Py is no longer supported.