comparison setup.py @ 423:d8630c086926

Replace Pyglet with our own Cython OpenGL wrapper.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:07:15 +0200
parents b1248bab2d0f
children 77c0e9a53795
comparison
equal deleted inserted replaced
422:52829ebe2561 423:d8630c086926
52 extension_name = '%s.%s' % (package, os.path.splitext(filename)[0]) 52 extension_name = '%s.%s' % (package, os.path.splitext(filename)[0])
53 extension_names.append(extension_name) 53 extension_names.append(extension_name)
54 if extension_name == 'pytouhou.lib.sdl': 54 if extension_name == 'pytouhou.lib.sdl':
55 compile_args = check_output([COMMAND, '--cflags'] + LIBRARIES).split() 55 compile_args = check_output([COMMAND, '--cflags'] + LIBRARIES).split()
56 link_args = check_output([COMMAND, '--libs'] + LIBRARIES).split() 56 link_args = check_output([COMMAND, '--libs'] + LIBRARIES).split()
57 elif extension_name.startswith('pytouhou.ui.'): #XXX
58 compile_args = check_output([COMMAND, '--cflags', 'gl']).split()
59 link_args = check_output([COMMAND, '--libs', 'gl']).split()
57 else: 60 else:
58 compile_args = None 61 compile_args = None
59 link_args = None 62 link_args = None
60 extensions.append(Extension(extension_name, 63 extensions.append(Extension(extension_name,
61 [os.path.join(directory, filename)], 64 [os.path.join(directory, filename)],