mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-05 13:59:53 +01:00
updated setup
This commit is contained in:
parent
9a72783bc5
commit
37af02b655
2
python/include/framework.pyx
Normal file
2
python/include/framework.pyx
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
import "glfw.pxd"
|
||||||
|
import "gl.pxd"
|
@ -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],
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user