add Python logging lib

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37979 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2011-03-20 22:26:03 +00:00
parent 3fa21f5637
commit 2851d2c0a6
3 changed files with 13 additions and 0 deletions

View File

@ -266,6 +266,14 @@ Lists of files to include in the installer
!macroend !macroend
!macro FileListPythonLibLogging COMMAND DIRECTORY
${FILE}__init__.py"
${FILE}config.py"
${FILE}handlers.py"
!macroend
!macro FileListMetaFile2EPS COMMAND DIRECTORY !macro FileListMetaFile2EPS COMMAND DIRECTORY
${FILE}metafile2eps.exe" ${FILE}metafile2eps.exe"

View File

@ -50,6 +50,8 @@ Section -ProgramFiles SecProgramFiles
!insertmacro FileListPythonLib File "${FILES_PYTHON}\Lib\" !insertmacro FileListPythonLib File "${FILES_PYTHON}\Lib\"
SetOutPath "$INSTDIR\python\Lib\encodings" SetOutPath "$INSTDIR\python\Lib\encodings"
!insertmacro FileListPythonLibEncodings File "${FILES_PYTHON}\Lib\encodings\" !insertmacro FileListPythonLibEncodings File "${FILES_PYTHON}\Lib\encodings\"
SetOutPath "$INSTDIR\python\Lib\logging"
!insertmacro FileListPythonLibLogging File "${FILES_PYTHON}\Lib\logging\"
# Compile all Pyton files to byte-code # Compile all Pyton files to byte-code
# The user using the scripts may not have write access # The user using the scripts may not have write access

View File

@ -30,6 +30,9 @@ Section "un.Program Files" un.SecProgramFiles
!insertmacro FileListPythonLibEncodings Delete "$INSTDIR\python\Lib\encodings\" !insertmacro FileListPythonLibEncodings Delete "$INSTDIR\python\Lib\encodings\"
Delete "$INSTDIR\python\Lib\encodings\*.pyc" Delete "$INSTDIR\python\Lib\encodings\*.pyc"
RMDir "$INSTDIR\python\Lib\encodings" RMDir "$INSTDIR\python\Lib\encodings"
!insertmacro FileListPythonLibLogging Delete "$INSTDIR\python\Lib\logging\"
Delete "$INSTDIR\python\Lib\logging\*.pyc"
RMDir "$INSTDIR\python\Lib\logging"
!insertmacro FileListPythonLib Delete "$INSTDIR\python\Lib\" !insertmacro FileListPythonLib Delete "$INSTDIR\python\Lib\"
Delete "$INSTDIR\python\Lib\*.pyc" Delete "$INSTDIR\python\Lib\*.pyc"
RMDir "$INSTDIR\python\Lib" RMDir "$INSTDIR\python\Lib"