updated setup

This commit is contained in:
zzzzrrr 2009-11-11 20:11:30 -05:00
parent 9a72783bc5
commit 37af02b655
2 changed files with 9 additions and 7 deletions

View File

@ -0,0 +1,2 @@
import "glfw.pxd"
import "gl.pxd"

View File

@ -7,9 +7,9 @@ from Cython.Distutils import build_ext
# Usage: python setup.py build_ext --i # Usage: python setup.py build_ext --i
version = '0.01' version = '0.1'
sourcefiles = ['engine/engine.pyx'] sourcefiles = ['include/framework.pyx']
# Platform-dependent submodules # Platform-dependent submodules
@ -24,21 +24,21 @@ else:
libs = ['GLEW', 'GLU', 'glfw', 'GL'] libs = ['GLEW', 'GLU', 'glfw', 'GL']
mod_engine = Extension( mod_engine = Extension(
"engine", "framework",
sourcefiles, sourcefiles,
libraries = libs, libraries = libs,
language = 'c' language = 'c'
) )
setup( setup(
name = 'OpenMelee', name = 'Poly2Tri',
version = version, version = version,
description = 'A Star Control Clone', description = 'A 2D Polygon Triangulator',
author = 'Mason Green & Tom Novelli', author = 'Mason Green (zzzzrrr)',
author_email = '', author_email = '',
maintainer = '', maintainer = '',
maintainer_email = '', maintainer_email = '',
url = 'http://openmelee.org/', url = 'http://code.google.com/p/poly2tri/',
cmdclass = {'build_ext': build_ext}, cmdclass = {'build_ext': build_ext},
ext_modules = [mod_engine], ext_modules = [mod_engine],
) )