@@ -4,17 +4,16 @@ Quick Build Info
44For testing, the installer should be built with the Tools/msi/build.bat
55script:
66
7- build.bat [-x86] [-x64] [--doc]
7+ build.bat [-x86] [-x64] [-ARM64] [- -doc]
88
99For an official release, the installer should be built with the
1010Tools/msi/buildrelease.bat script and environment variables:
1111
12- set PYTHON=<path to Python 2.7 or 3.4 >
12+ set PYTHON=<path to Python 3.8 or later >
1313 set SPHINXBUILD=<path to sphinx-build.exe>
14- set PATH=<path to Git (git.exe)>;
15- <path to HTML Help Compiler (hhc.exe)>;%PATH%
14+ set PATH=<path to Git (git.exe)>;%PATH%
1615
17- buildrelease.bat [-x86] [-x64] [-D] [-B]
16+ buildrelease.bat [-x86] [-x64] [-ARM64] [- D] [-B]
1817 [-o <output directory>] [-c <certificate name>]
1918
2019See the Building the Installer section for more information.
@@ -77,20 +76,17 @@ and Features | Turn Windows Features on or off) and ensure that the entry
7776For testing, the installer should be built with the Tools/msi/build.bat
7877script:
7978
80- build.bat [-x86] [-x64] [--doc] [--test-marker] [--pack]
79+ build.bat [-x86] [-x64] [-ARM64] [- -doc] [--test-marker] [--pack]
8180
8281This script will build the required configurations of Python and
8382generate an installer layout in PCbuild/(win32|amd64)/en-us.
8483
85- Specify -x86 and/or -x64 to build for each platform. If neither is
86- specified, both platforms will be built. Currently, both the debug and
84+ Specify -x86, -x64 and/or -ARM64 to build for each platform. If none are
85+ specified, both x64 and x86 will be built. Currently, both the debug and
8786release versions of Python are required for the installer.
8887
89- Specify --doc to build the documentation (.chm) file. If the file is not
90- available, it will simply be excluded from the installer. Ensure
91- %PYTHON% and %SPHINXBUILD% are set when passing this option. You may
92- also set %HTMLHELP% to the Html Help Compiler (hhc.exe), or put HHC on
93- your PATH or in externals/.
88+ Specify --doc to include the documentation files. Ensure %PYTHON% and
89+ %SPHINXBUILD% are set when passing this option.
9490
9591Specify --test-marker to build an installer that works side-by-side with
9692an official Python release. All registry keys and install locations will
@@ -106,18 +102,18 @@ Tools/msi/buildrelease.bat script:
106102
107103 set PYTHON=<path to Python 2.7 or 3.4>
108104 set SPHINXBUILD=<path to sphinx-build.exe>
109- set PATH=<path to Git (git.exe)>;
110- <path to HTML Help Compiler (hhc.exe)>;%PATH%
105+ set PATH=<path to Git (git.exe)>;%PATH%
111106
112- buildrelease.bat [-x86] [-x64] [-D] [-B]
107+ buildrelease.bat [-x86] [-x64] [-ARM64] [- D] [-B]
113108 [-o <output directory>] [-c <certificate name>]
114109
115- Specify -x86 and/or -x64 to build for each platform. If neither is
116- specified, both platforms will be built. Currently, both the debug and
110+ Specify -x86, -x64 and/or -ARM64 to build for each platform. If none are
111+ specified, both x64 and x86 will be built. Currently, both the debug and
117112release versions of Python are required for the installer.
118113
119114Specify -D to skip rebuilding the documentation. The documentation is
120115required for a release and the build will fail if it is not available.
116+ Ensure %PYTHON% and %SPHINXBUILD% are set if you omit this option.
121117
122118Specify -B to skip rebuilding Python. This is useful to only rebuild the
123119installer layout after a previous call to buildrelease.bat.
@@ -129,10 +125,6 @@ Specify -c to choose a code-signing certificate to be used for all the
129125signable binaries in Python as well as each file making up the
130126installer. Official releases of Python must be signed.
131127
132- Ensure %PYTHON% and %SPHINXBUILD% are set when passing this option. You
133- may also set %HTMLHELP% to the Html Help Compiler (hhc.exe), or put HHC
134- on your PATH or in externals/. You will also need Git (git.exe) on
135- your PATH.
136128
137129If WiX is not found on your system, it will be automatically downloaded
138130and extracted to the externals/ directory.
@@ -366,7 +358,7 @@ Within this install directory is the following approximate layout:
366358.\python3x.dll The core interpreter
367359.\python3.dll The stable ABI reference
368360.\DLLs Stdlib extensions (*.pyd) and dependencies
369- .\Doc Documentation (*.chm )
361+ .\Doc Documentation (*.html )
370362.\include Development headers (*.h)
371363.\Lib Standard library
372364.\Lib\test Test suite
@@ -421,7 +413,7 @@ a semicolon.
421413
422414When the documentation is installed, a key "Help" is created within the
423415root key, with a subkey "Main Python Documentation" with its default
424- value set to the full path to the installed CHM file.
416+ value set to the full path to the main index.html file.
425417
426418
427419The py.exe launcher is installed as part of a regular Python install,
0 commit comments