mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
3fa21f5637
commit
2851d2c0a6
@ -266,6 +266,14 @@ Lists of files to include in the installer
|
||||
|
||||
!macroend
|
||||
|
||||
!macro FileListPythonLibLogging COMMAND DIRECTORY
|
||||
|
||||
${FILE}__init__.py"
|
||||
${FILE}config.py"
|
||||
${FILE}handlers.py"
|
||||
|
||||
!macroend
|
||||
|
||||
!macro FileListMetaFile2EPS COMMAND DIRECTORY
|
||||
|
||||
${FILE}metafile2eps.exe"
|
||||
|
@ -50,6 +50,8 @@ Section -ProgramFiles SecProgramFiles
|
||||
!insertmacro FileListPythonLib File "${FILES_PYTHON}\Lib\"
|
||||
SetOutPath "$INSTDIR\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
|
||||
# The user using the scripts may not have write access
|
||||
|
@ -30,6 +30,9 @@ Section "un.Program Files" un.SecProgramFiles
|
||||
!insertmacro FileListPythonLibEncodings Delete "$INSTDIR\python\Lib\encodings\"
|
||||
Delete "$INSTDIR\python\Lib\encodings\*.pyc"
|
||||
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\"
|
||||
Delete "$INSTDIR\python\Lib\*.pyc"
|
||||
RMDir "$INSTDIR\python\Lib"
|
||||
|
Loading…
Reference in New Issue
Block a user