Looking for some help on a Open-source Python SDL wrapper

Hello Gang, I am new to this list so, hello everyone.

The primary reason for this post is for some advice on how to package SDL
and other SDL forks
into my project. The project is a Python module for application creation.
It is getting pretty stable now and
I would like to get it in a packaged format for distribution. I do not know
too much about C processor stuff, so
it would be helpful to if someone could explain how to go about this.
Basically, how are the libraries packaged into my project. This is a Python
module, so the package
data needs to be transferred from the base directory to the Python
directory. What files need to be transferd over?

The source code is here if anyone wants to browse -->
https://bitbucket.org/surgemcgee/pysurface--
Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d

have you looked at pygame?
Hello Gang, I am new to this list so, hello everyone.

The primary reason for this post is for some advice on how to package SDL
and other SDL forks
into my project. The project is a Python module for application creation.
It is getting pretty stable now and
I would like to get it in a packaged format for distribution. I do not know
too much about C processor stuff, so
it would be helpful to if someone could explain how to go about this.
Basically, how are the libraries packaged into my project. This is a Python
module, so the package
data needs to be transferred from the base directory to the Python
directory. What files need to be transferd over?

The source code is here if anyone wants to browse -->
https://bitbucket.org/surgemcgee/pysurface--
Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Ya, but PyGame wouldn’t even install on my PC. It has a bunch of crazy
dependencies. I wan’t to add SDL library
into PySurface. Not have the program go out and fetch them. I guess I
just don’t understand C enough.On Mon, Dec 17, 2012 at 2:29 AM, Ian Norton wrote:

have you looked at pygame?
Hello Gang, I am new to this list so, hello everyone.

The primary reason for this post is for some advice on how to package SDL
and other SDL forks
into my project. The project is a Python module for application creation.
It is getting pretty stable now and
I would like to get it in a packaged format for distribution. I do not
know too much about C processor stuff, so
it would be helpful to if someone could explain how to go about this.
Basically, how are the libraries packaged into my project. This is a
Python module, so the package
data needs to be transferred from the base directory to the Python
directory. What files need to be transferd over?

The source code is here if anyone wants to browse -->
https://bitbucket.org/surgemcgee/pysurface


Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d

2012/12/17 Robert Steckroth

Ya, but PyGame wouldn’t even install on my PC. It has a bunch of crazy
dependencies. I wan’t to add SDL library
into PySurface. Not have the program go out and fetch them. I guess I
just don’t understand C enough.

This is the Cython based wrapper for my engine, it may be useful for you:
https://bitbucket.org/gabomdq/ignifuga/src/baf7883aa5d693352a9ca65b763f51e1407e311d/src/backends/sdl/SDL.pxd?at=default

Also you may want to read this entry from my blog:
http://mdqinc.com/blog/2011/10/python-cython-wrapper-for-sdl-1-3/ (look at
the ctypes based generator that I mention there).–
Gabriel.

Holy crap! Well, there is yet another SDL wrapper then. The cython stuff
looks interesting. Is there any projects using all those declarations?On Mon, Dec 17, 2012 at 10:55 AM, Gabriel Jacobo wrote:

2012/12/17 Robert Steckroth <@Robert_Steckroth>

Ya, but PyGame wouldn’t even install on my PC. It has a bunch of crazy
dependencies. I wan’t to add SDL library
into PySurface. Not have the program go out and fetch them. I guess I
just don’t understand C enough.

This is the Cython based wrapper for my engine, it may be useful for you:
https://bitbucket.org/gabomdq/ignifuga/src/baf7883aa5d693352a9ca65b763f51e1407e311d/src/backends/sdl/SDL.pxd?at=default

Also you may want to read this entry from my blog:
http://mdqinc.com/blog/2011/10/python-cython-wrapper-for-sdl-1-3/ (look
at the ctypes based generator that I mention there).


Gabriel.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d

http://ignifuga.org/gettingstarted#ignifuga

Hahah, what a cool web site!On Mon, Dec 17, 2012 at 11:04 AM, Robert Steckroth < @Robert_Steckroth> wrote:

Holy crap! Well, there is yet another SDL wrapper then. The cython stuff
looks interesting. Is there any projects using all those declarations?

On Mon, Dec 17, 2012 at 10:55 AM, Gabriel Jacobo wrote:

2012/12/17 Robert Steckroth <@Robert_Steckroth>

Ya, but PyGame wouldn’t even install on my PC. It has a bunch of crazy
dependencies. I wan’t to add SDL library
into PySurface. Not have the program go out and fetch them. I guess I
just don’t understand C enough.

This is the Cython based wrapper for my engine, it may be useful for you:
https://bitbucket.org/gabomdq/ignifuga/src/baf7883aa5d693352a9ca65b763f51e1407e311d/src/backends/sdl/SDL.pxd?at=default

Also you may want to read this entry from my blog:
http://mdqinc.com/blog/2011/10/python-cython-wrapper-for-sdl-1-3/ (look
at the ctypes based generator that I mention there).


Gabriel.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d


Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d

Another alternative is a ctypes based wrapper I’ve been working on. You
can find it at https://github.com/jdoda/python-sdl . It’s in the early
stages, but it wraps a useful subset of sdl functionality and I’m
actively working on it. It’s meant to present an API that is close to
the SDL API while still feeling very pythonic, which I think sets it
apart from many other similar projects.–
Jonathan Doda
@Jonathan_Doda

http://code.google.com/p/pgreloaded/ works for me.

I’ve made some SDL bindings for Python, you can check it out here:

https://github.com/alejolp/sdl1-python--
Alejandro Santos

Hey, that binding module is cool. All SDL needs now is another Python
wrapper :wink:
Does anybody have a Python Wrapper for SDL? Somebody please, create a
Python wrapper…

Jeesh! I was better off creating a new way to add and subtract numbers!On Sun, Dec 23, 2012 at 12:52 PM, Alejandro Santos wrote:

I’ve made some SDL bindings for Python, you can check it out here:

https://github.com/alejolp/sdl1-python


Alejandro Santos


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Bust0ut, Surgemcgee: Systems Engineer —
surgemcgee.com
Django_Teamplate3d

On, Sun Dec 23, 2012, Robert Steckroth wrote:

Hey, that binding module is cool. All SDL needs now is another Python
wrapper :wink:
Does anybody have a Python Wrapper for SDL? Somebody please, create a
Python wrapper…

You might want to check http://code.google.com/p/pgreloaded/ for a SDL2
wrapper.

Cheers
Marcus
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20121223/adcd5701/attachment.pgp