intigrate the PyGame module with my Python

D

devendra_k

I want to intigrate the PyGame module with my Python exe,
means i DONT want to generate .PYD files separtely rather than that
want to put PyGame "c" src with Python workspace of VC project
workspace.
I am unable to import the sub modules( display, rect etc) of pygame,
its raising errors,
am giving the steps i followed, plz help me in this case

I am stuck at the "pygame" embedding using microsoft visual c++ under
win2000 os.
Formarly I have done following activities :

1. Downloaded the windows binary for python 1.5.2 from python.org.
2. Downloaded the sdl windows binary package from pysdl.org.
3. successfully integrated the sdl library into the python15 project.
A sample py script was tested successfully.

4. Downloaded pygame 1.6 source from pygame.org.
5. Integrated the code into vc project.
6. On similar lines to sdl, the necessary changes were done
( as pygame happens to be successor to sdl).
Initially, the pygame module was not being recognized by the
environment.


Regards,

Devendra
 
L

Lucas Raab

I want to intigrate the PyGame module with my Python exe,
means i DONT want to generate .PYD files separtely rather than that
want to put PyGame "c" src with Python workspace of VC project
workspace.
I am unable to import the sub modules( display, rect etc) of pygame,
its raising errors,
am giving the steps i followed, plz help me in this case

I am stuck at the "pygame" embedding using microsoft visual c++ under
win2000 os.
Formarly I have done following activities :

1. Downloaded the windows binary for python 1.5.2 from python.org.
2. Downloaded the sdl windows binary package from pysdl.org.
3. successfully integrated the sdl library into the python15 project.
A sample py script was tested successfully.

4. Downloaded pygame 1.6 source from pygame.org.
5. Integrated the code into vc project.
6. On similar lines to sdl, the necessary changes were done
( as pygame happens to be successor to sdl).
Initially, the pygame module was not being recognized by the
environment.


Regards,

Devendra

You don't want to put the Pygame files in the pythonxy.exe (where xy is
your version number) file, but rather the pythonxy.dll file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top