Closed DaiZhongpeng3 closed 1 month ago
It is difficult to tell what your problem is without any concrete error message. My guess would be that you are missing a dependency. I kept getting an error about a missing executable when running "python setup.py install" until I installed cython with "pip install cython". That's because setuplib.py attempts to run the cython executable.
Regarding your second question, I am assuming that you git cloned renpy/pygame_sdl2 locally, and want to do the same with renpy/pygame_sdl2_windeps while having the pygame_sdl2_windeps directory nested inside pygame_sdl2? If so, you need to run "git submodule add https://github.com/renpy/pygame_sdl2_windeps pygame_sdl2_windeps" from the pygame_sdl2 directory.
Building pygame_sdl2 directly isn't supported. I'd suggest using renpy/renpy-build to build it.
As soon as I run python setup.py install, python couldn't find the file named"command". How can I put pygame_sdl2_windeps into the pygame_sdl2 checkout? And why python couldn't find the file? My purpose is only to make Ren'py recognize the pyd file. Thanks for the help!