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

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
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 ---------------------------------------------------------------------------
 
-@ECHO "Setting up the build environment ..."
+@ECHO Setting up the build environment ...
 SET GNUE_PATH="C:\GNUE"
 
 IF EXIST %GNUE_PATH% (
@@ -27,10 +27,14 @@
 REM ---------------------------------------------------------------------------
 
 CD ..\..
-@ECHO "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
+@ECHO 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"],
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.