forked from adang1345/PythonWindows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotes.txt
More file actions
44 lines (33 loc) · 2.54 KB
/
Notes.txt
File metadata and controls
44 lines (33 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
All Versions
If you get an error during documentation build saying that itircl.dll was not registered correctly, go to externals\windows-installer\htmlhelp and run regsvr32 itcc.dll. Or you can install HTML Help Compiler system-wide, which would register this DLL anyway.
Build from a path that doesn't contain spaces. Otherwise you may get an error 9009 when executing gendef.
Python 3.5
Install Windows 8.1 SDK, Visual Studio 2015 build tools.
Install SVN with command line tools from https://tortoisesvn.net/downloads.html.
Build of installer works with Sphinx 1.7.9 for Python 3.5.5 to 3.5.7, and Sphinx 1.8.5 for Python 3.5.8 to 3.5.10. Install Sphinx into a Python 3.6 venv and set SPHINXBUILD.
Apply build-full-installer.patch to include debug symbols and debug binaries in the installer. Resolve conflicts manually.
Run buildrelease.bat -x86 -x64.
Python 3.6
Install Sphinx 1.8.5 to a Python 3.6 venv and set SPHINXBUILD.
Due to a bug in build scripts (https://bugs.python.org/issue35374), set HTMLHELP to the location of hhc.exe in externals\windows-installer\htmlhelp.
Need Windows SDK 10.0.10586.212.
Apply build-full-installer.patch to include debug symbols and debug binaries in the installer. Resolve conflicts manually.
Run buildrelease.bat -x86 -x64 --skip-pgo.
Python 3.7
Install Sphinx 2.4.5 to a Python 3.6 venv and set PYTHON.
Apply build-full-installer.patch to include debug symbols and debug binaries in the installer. Resolve conflicts manually.
Apply fix-htmlhelp.patch to fix error in documentation build (https://bugs.python.org/issue46463).
Run buildrelease.bat -x86 -x64 --skip-pgo.
Python 3.8
Install Sphinx 2.4.5 to a Python 3.6 venv and set PYTHON.
Apply libffi-fix.patch for 3.8.11-3.8.12 to avoid error where libffi-7.lib can't be found. Resolve conflicts manually.
Apply build-full-installer.patch to include debug symbols and debug binaries in the installer. Resolve conflicts manually.
Apply fix-htmlhelp.patch to fix error in documentation build (https://bugs.python.org/issue46463).
Apply fix-chm.patch to fix formatting errors in the .chm help file (https://bugs.python.org/issue47051).
Run buildrelease.bat -x86 -x64 --skip-pgo.
Python 3.9
Install Sphinx 3.5.4 to a Python 3.6 venv and set PYTHON.
Apply build-full-installer.patch to include debug symbols and debug binaries in the installer. Resolve conflicts manually.
Apply guid-fix.patch to work around https://github.com/python/cpython/issues/96729.
Apply fix-chm.patch to fix formatting errors in the .chm help file (https://bugs.python.org/issue47051).
Run buildrelease.bat -x86 -x64 --skip-pgo.