Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2006-10-21 23:20:49 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2006-10-21 23:20:49 (GMT)
commit8db3d70fc419ea0e59d9a2469f2da30bd29b9c6a (patch)
treebf0af40f01c61d444f870826ec162e8729f5d45b /tools
parent8925dc92e49e1b201c26865771e545fc307a1929 (diff)
*** RELEASE 8.2BETA1 ***
- fixed all boards/Makefile.am, the transformation for i18n was not good enough and was breaking the game missing_letter. - added support for py2exe on windows which allow us to create an embedded package with python, pygtk and pycairo all together - cleanup in boards/* to replace assert by g_assert and remove uneeded includes. - fixed awele to run on windows replace font "12x24" by "sans 12"
Diffstat (limited to 'tools')
-rw-r--r--tools/py2exe/README3
-rwxr-xr-xtools/py2exe/gcompris.py25
-rwxr-xr-xtools/py2exe/setup.py25
3 files changed, 53 insertions, 0 deletions
diff --git a/tools/py2exe/README b/tools/py2exe/README
new file mode 100644
index 0000000..7409b22
--- /dev/null
+++ b/tools/py2exe/README
@@ -0,0 +1,3 @@
+This directory contains stubs needed to run py2exe and create a GCompris
+binary that is self contained with python and pygtk
+To run it on windows, run make -f Makefile.mingw python
diff --git a/tools/py2exe/gcompris.py b/tools/py2exe/gcompris.py
new file mode 100755
index 0000000..23ac7e0
--- /dev/null
+++ b/tools/py2exe/gcompris.py
@@ -0,0 +1,25 @@
+from gettext import gettext as _
+import site
+import base64
+import copy
+import cPickle as pickle
+import glob
+import gobject
+import gtk
+import gtk.gdk
+import gtk.keysyms
+import math
+import os
+import pango
+import pygtk
+import random
+import sys
+import tempfile
+import time
+import types
+import cairo
+import pangocairo
+import atk
+import gobject
+
+print "Hello gcompris world now"
diff --git a/tools/py2exe/setup.py b/tools/py2exe/setup.py
new file mode 100755
index 0000000..f04376f
--- /dev/null
+++ b/tools/py2exe/setup.py
@@ -0,0 +1,25 @@
+from distutils.core import setup
+import py2exe
+
+setup(
+ name = 'gcompris',
+ description = 'gcompris',
+ version = '8.2',
+
+ windows = [
+ {
+ 'script': 'gcompris.py',
+ 'icon_resources': [(1, "gcompris.ico")],
+ }
+ ],
+
+ options = {
+ 'py2exe': {
+ 'packages':'encodings',
+ 'includes': 'cairo, pango, pangocairo, atk, gobject',
+ }
+ },
+
+ data_files=[
+ ]
+)