1 | --- setup-osx.py 2006-04-25 00:34:28.000000000 +0200 |
---|
2 | +++ setup-osx.py.new 2007-04-15 21:49:20.000000000 +0200 |
---|
3 | @@ -1,6 +1,9 @@ |
---|
4 | from distutils.core import setup |
---|
5 | from distutils.extension import Extension |
---|
6 | from Pyrex.Distutils import build_ext |
---|
7 | + |
---|
8 | +glew_include_dirs=['/opt/local/include'] |
---|
9 | + |
---|
10 | setup( |
---|
11 | name = "glewpy", |
---|
12 | version = '0.7.4', |
---|
13 | @@ -16,31 +19,31 @@ |
---|
14 | 'examples/oneshot.py', |
---|
15 | 'examples/logo2.jpg']}, |
---|
16 | ext_modules=[ |
---|
17 | - Extension('glew', ['src/glew.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
18 | - Extension('gl.threedfx', ['src/gl/threedfx.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
19 | - Extension('gl.apple', ['src/gl/apple.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
20 | - Extension('gl.arb', ['src/gl/arb.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
21 | - Extension('gl.ati', ['src/gl/ati.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
22 | - Extension('gl.atix', ['src/gl/atix.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
23 | - Extension('gl.ext', ['src/gl/ext.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
24 | - Extension('gl.gl', ['src/gl/gl.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
25 | - Extension('gl.hp', ['src/gl/hp.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
26 | - Extension('gl.ibm', ['src/gl/ibm.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
27 | - Extension('gl.ingr', ['src/gl/ingr.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
28 | - Extension('gl.intel', ['src/gl/intel.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
29 | - Extension('gl.ktx', ['src/gl/ktx.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
30 | - Extension('gl.mesa', ['src/gl/mesa.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
31 | - Extension('gl.nv', ['src/gl/nv.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
32 | - Extension('gl.oml', ['src/gl/oml.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
33 | - Extension('gl.pgi', ['src/gl/pgi.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
34 | - Extension('gl.rend', ['src/gl/rend.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
35 | - Extension('gl.s3', ['src/gl/s3.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
36 | - Extension('gl.sgis', ['src/gl/sgis.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
37 | - Extension('gl.sgix', ['src/gl/sgix.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
38 | - Extension('gl.sgi', ['src/gl/sgi.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
39 | - Extension('gl.sunx', ['src/gl/sunx.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
40 | - Extension('gl.sun', ['src/gl/sun.pyx'], extra_link_args = ['-framework', 'OpenGL']), |
---|
41 | - Extension('gl.win', ['src/gl/win.pyx'], extra_link_args = ['-framework', 'OpenGL']) |
---|
42 | + Extension('glew', ['src/glew.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
43 | + Extension('gl.threedfx', ['src/gl/threedfx.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
44 | + Extension('gl.apple', ['src/gl/apple.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
45 | + Extension('gl.arb', ['src/gl/arb.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
46 | + Extension('gl.ati', ['src/gl/ati.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
47 | + Extension('gl.atix', ['src/gl/atix.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
48 | + Extension('gl.ext', ['src/gl/ext.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
49 | + Extension('gl.gl', ['src/gl/gl.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
50 | + Extension('gl.hp', ['src/gl/hp.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
51 | + Extension('gl.ibm', ['src/gl/ibm.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
52 | + Extension('gl.ingr', ['src/gl/ingr.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
53 | + Extension('gl.intel', ['src/gl/intel.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
54 | + Extension('gl.ktx', ['src/gl/ktx.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
55 | + Extension('gl.mesa', ['src/gl/mesa.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
56 | + Extension('gl.nv', ['src/gl/nv.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
57 | + Extension('gl.oml', ['src/gl/oml.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
58 | + Extension('gl.pgi', ['src/gl/pgi.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
59 | + Extension('gl.rend', ['src/gl/rend.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
60 | + Extension('gl.s3', ['src/gl/s3.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
61 | + Extension('gl.sgis', ['src/gl/sgis.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
62 | + Extension('gl.sgix', ['src/gl/sgix.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
63 | + Extension('gl.sgi', ['src/gl/sgi.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
64 | + Extension('gl.sunx', ['src/gl/sunx.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
65 | + Extension('gl.sun', ['src/gl/sun.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']), |
---|
66 | + Extension('gl.win', ['src/gl/win.pyx'], include_dirs=glew_include_dirs, extra_link_args = ['-framework', 'OpenGL']) |
---|
67 | ], |
---|
68 | cmdclass = {'build_ext': build_ext} |
---|
69 | ) |
---|