| 1 | ''' PySoy's compile and install config ''' |
|---|
| 2 | __credits__ = '''Copyright (C) 2006,2007,2008,2009 PySoy Group |
|---|
| 3 | |
|---|
| 4 | This program is free software; you can redistribute it and/or modify |
|---|
| 5 | it under the terms of the GNU Affero General Public License as published |
|---|
| 6 | by the Free Software Foundation, either version 3 of the License, or |
|---|
| 7 | (at your option) any later version. |
|---|
| 8 | |
|---|
| 9 | This program is distributed in the hope that it will be useful, |
|---|
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | GNU Affero General Public License for more details. |
|---|
| 13 | |
|---|
| 14 | You should have received a copy of the GNU Affero General Public License |
|---|
| 15 | along with this program; if not, see http://www.gnu.org/licenses |
|---|
| 16 | ''' |
|---|
| 17 | __author__ = 'PySoy Group' |
|---|
| 18 | __date__ = 'Last change on '+ \ |
|---|
| 19 | '$Date: 2009-01-02 22:23:51 -0500 (Fri, 02 Jan 2009) $'[7:-20]+ \ |
|---|
| 20 | 'by '+'$Author: JonNeal $'[9:-2] |
|---|
| 21 | __version__ = 'Trunk (r'+'$Rev: 1408 $'[6:-2]+')' |
|---|
| 22 | |
|---|
| 23 | import sys |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | version = 'Trunk' |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | libraries = { |
|---|
| 30 | 'al' : 'openal', |
|---|
| 31 | 'cairo' : 'cairo', |
|---|
| 32 | 'gdi' : 'gdi32', # windows only |
|---|
| 33 | 'gl' : { |
|---|
| 34 | 'linux2' : 'GL', |
|---|
| 35 | 'darwin' : '', # via Framework |
|---|
| 36 | 'win32' : 'opengl32'}[sys.platform], |
|---|
| 37 | 'glu' : { |
|---|
| 38 | 'linux2' : 'GLU', |
|---|
| 39 | 'darwin' : '', # via Framework |
|---|
| 40 | 'win32' : 'glu32'}[sys.platform], |
|---|
| 41 | 'glew' : ['GLEW', 'glew32'][sys.platform=='win32'], |
|---|
| 42 | 'glib' : 'glib-2.0', |
|---|
| 43 | 'gthread' : 'gthread-2.0', |
|---|
| 44 | 'ode' : 'ode', |
|---|
| 45 | 'ogg' : 'ogg', |
|---|
| 46 | 'pango' : 'pango', |
|---|
| 47 | 'theora' : 'theora', |
|---|
| 48 | 'x11' : 'X11', # X11 only |
|---|
| 49 | 'xxf86vm' : 'Xxf86vm', # X11 only |
|---|
| 50 | } |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | modules = { |
|---|
| 54 | '_core' : ['glew', 'gl', 'ode', 'glib'], |
|---|
| 55 | '_datatypes' : ['glew', 'gl', 'ode', 'glib', 'al'], |
|---|
| 56 | '_internals' : ['glib', 'gthread'], |
|---|
| 57 | 'actions' : ['ode'], |
|---|
| 58 | 'atoms' : [], |
|---|
| 59 | 'audio' : ['al'], |
|---|
| 60 | 'bodies' : ['glew', 'gl', 'ode'], |
|---|
| 61 | 'colors' : ['gl'], |
|---|
| 62 | 'controllers' : [], |
|---|
| 63 | 'fields' : ['gl', 'ode'], |
|---|
| 64 | 'joints' : ['gl', 'ode'], |
|---|
| 65 | 'materials' : ['gl', 'glew'], |
|---|
| 66 | 'models' : ['glew', 'gl', 'glu', 'ode'], |
|---|
| 67 | 'textures' : ['glew', 'gl', 'theora', 'ogg', 'cairo'], |
|---|
| 68 | 'scenes' : ['glew', 'gl', 'ode'], |
|---|
| 69 | 'shapes' : ['ode'], |
|---|
| 70 | 'transports' : ['ogg'], |
|---|
| 71 | 'widgets' : ['glew', 'gl', 'glu'], |
|---|
| 72 | } |
|---|