commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9713 - trunk/gnue-forms/packaging/win32


From: johannes
Subject: [gnue] r9713 - trunk/gnue-forms/packaging/win32
Date: Wed, 13 Jun 2007 07:56:55 -0500 (CDT)

Author: johannes
Date: 2007-06-13 07:56:54 -0500 (Wed, 13 Jun 2007)
New Revision: 9713

Modified:
   trunk/gnue-forms/packaging/win32/setup.cmd
   trunk/gnue-forms/packaging/win32/setup.py
Log:
Do not include *.pyc into the package since this renders translations 
unusable (unless one installs into c:/gnue/)


Modified: trunk/gnue-forms/packaging/win32/setup.cmd
===================================================================
--- trunk/gnue-forms/packaging/win32/setup.cmd  2007-06-13 12:21:32 UTC (rev 
9712)
+++ trunk/gnue-forms/packaging/win32/setup.cmd  2007-06-13 12:56:54 UTC (rev 
9713)
@@ -9,7 +9,7 @@
 REM Prepare the build environment
 REM ---------------------------------------------------------------------------
 
address@hidden "Setting up the build environment ..."
address@hidden Setting up the build environment ...
 SET GNUE_PATH="C:\GNUE"
 
 IF EXIST %GNUE_PATH% (
@@ -27,10 +27,14 @@
 REM ---------------------------------------------------------------------------
 
 CD ..\..
address@hidden "Installing the package into local build environment ..."
-python setup.py install --install-scripts=%GNUE_PATH%\Scripts 
--install-lib=%GNUE_PATH%\bin --install-data=%GNUE_PATH% 
--install-config=%GNUE_PATH%\etc
address@hidden Installing the package into local build environment ...
 
+REM Note: We do *not* compile the py files here, because this would add a wrong
+REM path to the pyc-files, which in turn breaks translations later.
 
+python setup.py install --install-scripts=%GNUE_PATH%\Scripts 
--install-lib=%GNUE_PATH%\bin --install-data=%GNUE_PATH% 
--install-config=%GNUE_PATH%\etc --no-compile
+
+
 REM ---------------------------------------------------------------------------
 REM Compile everything into an exe
 REM ---------------------------------------------------------------------------

Modified: trunk/gnue-forms/packaging/win32/setup.py
===================================================================
--- trunk/gnue-forms/packaging/win32/setup.py   2007-06-13 12:21:32 UTC (rev 
9712)
+++ trunk/gnue-forms/packaging/win32/setup.py   2007-06-13 12:56:54 UTC (rev 
9713)
@@ -106,9 +106,7 @@
                     "icon_resources": [(1, "gnue-32x32.ico")],
                     "other_resources": [(RT_MANIFEST, 1, manifest)]}],
         options = {"py2exe":
-            # TODO: Check wether the following typelibrary is needed or not
-            {"typelibs": [('{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}',0,1,1)],
-             "dll_excludes": ["msvcp60.dll",
+            {"dll_excludes": ["msvcp60.dll",
                               "tcl84.dll",
                               "tk84.dll",
                               "oci.dll"],





reply via email to

[Prev in Thread] Current Thread [Next in Thread]