• R/O
  • SSH

traclightning: Commit

traclightningのリポジトリ


Commit MetaInfo

Revisioncee704b4304db466e008e281f9c6831e2bcf4f0f (tree)
Zeit2015-05-03 12:17:18
AutorJun Omae <jun66j5@gmai...>
CommiterJun Omae

Log Message

Excludes *.py[co] files and compile *.py files on install stage

Ändern Zusammenfassung

Diff

diff -r 63b00882509a -r cee704b4304d install/post-install.bat
--- a/install/post-install.bat Sun May 03 11:43:24 2015 +0900
+++ b/install/post-install.bat Sun May 03 12:17:18 2015 +0900
@@ -55,6 +55,9 @@
5555 jenkins\jre\bin\java.exe -Xshare:dump
5656 )
5757
58+REM ==== Compile *.py files
59+python\python.exe -m compileall python\Lib
60+
5861 REM ==== Copy static files in Trac to htdocs/trac_common
5962 if not exist CollabNetSVN\httpd\htdocs\trac_common mkdir CollabNetSVN\httpd\htdocs\trac_common
6063 python\python.exe -c "from pkg_resources import resource_filename; from trac.util import copytree; copytree(resource_filename('trac', 'htdocs'), r'CollabNetSVN\httpd\htdocs\trac_common', overwrite=True)"
diff -r 63b00882509a -r cee704b4304d trac.iss
--- a/trac.iss Sun May 03 11:43:24 2015 +0900
+++ b/trac.iss Sun May 03 12:17:18 2015 +0900
@@ -64,7 +64,7 @@
6464 Source: CollabNetSVN\ssleay32.dll; DestDir: {app}\python\Lib\site-packages\libsvn
6565 Source: CollabNetSVN\libeay32.dll; DestDir: {app}\python\Lib\site-packages\libsvn
6666 Source: install\replace\mod_wsgi.so; DestDir: {app}\python
67-Source: tmp\dist\Lib\site-packages\*; DestDir: {app}\python\Lib\site-packages; Flags: recursesubdirs sortfilesbyextension
67+Source: tmp\dist\Lib\site-packages\*; DestDir: {app}\python\Lib\site-packages; Flags: recursesubdirs sortfilesbyextension; Excludes: *.pyc,*.pyo
6868 Source: tmp\dist\Scripts\*; DestDir: {app}\python\Scripts; Flags: recursesubdirs sortfilesbyextension
6969 Source: backup.bat; DestDir: {app}\
7070 Source: python-lib\trac\trac\htdocs\trac.ico; DestDir: {app}\
Show on old repository browser