mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
winbuild include python3
This commit is contained in:
parent
81d6965c81
commit
1d0ab7a274
@ -49,15 +49,15 @@ Updating dependencies
|
|||||||
to %%dependencies%%\ghostscript.
|
to %%dependencies%%\ghostscript.
|
||||||
|
|
||||||
- Python
|
- Python
|
||||||
download the latest Python 2 release for windows from https://www.python.org/downloads/windows/ (32 or 64 bit),
|
download the latest Python 3 release for windows from https://www.python.org/downloads/windows/ (embeddable package 64 bit),
|
||||||
current version is 2.7.17
|
current version is 3.11.2
|
||||||
Install it or extract with a tool named lessmsi. If you install it, you will have to find python27.dll in the
|
Extract it and copy to %%dependencies%%\Python.
|
||||||
Windows\System32 folder. 64-bit dlls on a 64-bit windows are stored in Windows\System32 folder, 32-bit dlls on a 64-bit windows
|
open python3XX._pth file with a text editor, uncomment the "import site" line
|
||||||
are stored in Windows\SysWOW64. Copy this python27.dll to %%dependencies%%\Python, from the python installation folder copy
|
add following paths after the 2 already existing paths ('.' and python311.zip)
|
||||||
all files and "DLLs", "Lib" and "libs" subfolders to %%dependencies%%\Python. You can uninstall python afterwards.
|
./Scripts
|
||||||
If you extracted with lessmsi, you will also get visual studio runtime dlls and some executables, which are used during installation,
|
../Resources
|
||||||
these are not needed. Copy the 2 python executables, the python dll, the 3 textfiles (license, news and readme) and the "DLLs",
|
../Resources/lyx2lyx
|
||||||
"Lib" and "libs" subfolders to %%dependencies%%\Python.
|
../Resources/scripts
|
||||||
|
|
||||||
- Visual Studio runtime
|
- Visual Studio runtime
|
||||||
Download the latest Visual C++ Redistributable (if you still haven't), the version should match with your VS C++ compiler
|
Download the latest Visual C++ Redistributable (if you still haven't), the version should match with your VS C++ compiler
|
||||||
|
@ -719,7 +719,7 @@ Section -CompilePython
|
|||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section -LyxrcDist
|
Section -LyxrcDist
|
||||||
StrCpy $pathPrefix "$LatexPath;$$LyXDir\bin;$$LyXDir\Python;$$LyXDir\Python\Lib;$$LyXDir\imagemagick;$$LyXDir\ghostscript\bin"
|
StrCpy $pathPrefix "$LatexPath;$$LyXDir\bin;$$LyXDir\Python;$$LyXDir\Python\Lib;$$LyXDir\Python\Scripts;$$LyXDir\imagemagick;$$LyXDir\ghostscript\bin"
|
||||||
|
|
||||||
# Find additional software and add their install locations to the path_prefix
|
# Find additional software and add their install locations to the path_prefix
|
||||||
# This list contains all software, which write the string value "InstallLocation" in their corresponding keys in "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
# This list contains all software, which write the string value "InstallLocation" in their corresponding keys in "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
||||||
|
Loading…
Reference in New Issue
Block a user