Hi, I'm new here..
Is there any further info on the method to install on windows?
I have been trying to set up pygame_sdl2 purely for the purpose of converting a previously developed pygame to android.
I'm not developing in Ren'Py.
I basically get stuck at the same point user Glazed Donuts was, where the command for setup.py install fails for pygame_sdl2.
So I'm trying to figure out if I have the prereqs, and what other setup items I may be missing.
I have manually downloaded SDL2 libraries (in win binary form).
Also SDL mixer, ttf, gfx. so I now have the dlls for those.
Not exactly sure where they should go... I have many copies of SDL2.dll around, plus added it to the path, and created ENV variable
I have also used pip to install:
Haven't gotten "pysdl2-harness", or "pysdl2-cffi". no idea what those are, but showed up in pip search.
I'm still not sure I've got all the dependencies in place.
I have never used virtualenv before, so I may be messing up something there.
I run "activate.bat", and it adds a prompt so I *think* I'm "changing into a clone".
I can run python and "import sdl2" and that returns ok.
It also seems to import: sdl2.ext, sdl2.sdlmixer
But, when I try to install, I still get this:
File "setup.py", line 29, in <module>
parse_cflags([ "sh", "-c", "sdl2-config --cflags" ])
File "F:\rapt\pygame_sdl2-master\setuplib.py", line 83, in parse_cflags
output = subprocess.check_output(command, universal_newlines=True)
File "c:\python27\Lib\subprocess.py", line 537, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "c:\python27\Lib\subprocess.py", line 679, in __init__
File "c:\python27\Lib\subprocess.py", line 896, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified