[Pen-commits] SF.net SVN: pen:[118]
Brought to you by:
mdgeorge
From: <mdg...@us...> - 2008-12-04 01:24:38
|
Revision: 118 http://pen.svn.sourceforge.net/pen/?rev=118&view=rev Author: mdgeorge Date: 2008-12-04 01:24:33 +0000 (Thu, 04 Dec 2008) Log Message: ----------- Added a setup.py file. It works, although maskutils still doesn't work yet because I'm not done modifying mask.c in pygame. You can import it though! Added Paths: ----------- setup.py Property Changed: ---------------- / Property changes on: ___________________________________________________________________ Modified: svn:ignore - configure Makefile.in config.log config.status libtool autom4te.cache Makefile aclocal.m4 + configure Makefile.in config.log config.status libtool autom4te.cache Makefile aclocal.m4 build Added: setup.py =================================================================== --- setup.py (rev 0) +++ setup.py 2008-12-04 01:24:33 UTC (rev 118) @@ -0,0 +1,15 @@ +from distutils.core import setup, Extension + +maskutils_name = 'maskutils' +maskutils_sources = ['src/maskutils.c', 'pygame/src/bitmask.c'] +maskutils_includes = ['pygame/src'] +maskutils = Extension(name = maskutils_name, + sources = maskutils_sources, + include_dirs = maskutils_includes) + +setup(name = 'pen', + version = '0.0', + author = 'Michael George', + author_email = 'mdg...@cs...', + ext_modules = [maskutils]) + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |