• Home
  • Raw
  • Download

Lines Matching +full:python +full:- +full:version

2 -----------------
4 1. Install Microsoft Visual Studio 2017 with Python workload and
5 Python native development component.
6 1a. Optionally install Python 3.6 or later. If not installed,
7 get_externals.bat (via build.bat) will download and use Python via
9 2. Run "build.bat" to build Python in 32-bit Release configuration.
10 3. (Optional, but recommended) Run the test suite with "rt.bat -q".
13 Building Python using Microsoft Visual C++
14 ------------------------------------------
16 This directory is used to build CPython for Microsoft Windows on 32- and 64-
18 Microsoft Visual Studio (MSVC) with the *Python workload* and
19 its optional *Python native development* component selected.
29 used to build standard x86-compatible 32-bit binaries, output into the
30 win32 sub-directory. The x64 platform is used for building 64-bit AMD64
31 (aka x86_64 or EM64T) binaries, output into the amd64 sub-directory.
32 The Itanium (IA-64) platform is no longer supported.
36 Used to build Python with extra debugging capabilities, equivalent
37 to using ./configure --with-pydebug on UNIX. All binaries built
40 build and rt (run test) batch files in this directory accept a -d
41 option for debug builds. If you are building Python to help with
44 Used to build Python in Release configuration using PGO, which
48 sub-directory of this directory. The official Python releases may
51 Used to build Python as it is meant to be used in production
55 Building Python using the build.bat script
56 ----------------------------------------------
59 building Python on Windows simpler. This script will use the env.bat
61 which may be used to build Python. Currently Visual Studio 2017 is
64 By default, build.bat will build Python in Release configuration for
65 the 32-bit Win32 platform. It accepts several arguments to change
66 this behavior, try `build.bat -h` to learn more.
70 ---------
72 Visual Studio 2017 uses version 14.0 of the C runtime (vcruntime140).
82 Sub-Projects
83 ------------
85 The CPython project is split up into several smaller sub-projects which
86 are managed by the pcbuild.sln solution file. Each sub-project is
88 name of the sub-project. These sub-projects fall into a few general
91 The following sub-projects represent the bare minimum required to build
93 you'll have a very limited but usable python.exe:
96 python
99 These sub-projects provide extra executables that are useful for running
102 pythonw.exe, a variant of python.exe that doesn't open a Command
105 py.exe, the Python Launcher for Windows, see
106 https://docs.python.org/3/using/windows.html#launcher
111 _testembed.exe, a small program that embeds Python for testing
114 These are miscellaneous sub-projects that don't really fit the other
117 _freeze_module.exe, used to regenerate frozen modules in Python
128 ditto for testing the Python 3.5 stable ABI, see
131 The following sub-projects are for individual modules of the standard
156 The following Python-controlled sub-projects wrap external projects.
160 about getting the source for building these libraries. The sub-projects
163 Python wrapper for version 1.0.8 of the libbzip2 compression library
167 Python wrapper for version 5.2.2 of the liblzma compression library
171 Python wrapper for version 1.1.1u of the OpenSSL secure sockets
173 https://github.com/python/cpython-bin-deps.
179 running PCbuild\prepare_ssl.bat. This will retrieve the version of
182 https://github.com/python/cpython-source-deps.
185 the files in the externals/openssl-bin-<version> folder with your own.
194 Wraps version 8.6.6 of the Tk windowing system, which is downloaded
196 https://github.com/python/cpython-bin-deps.
202 PCbuild\prepare_tcltk.bat. This will retrieve the version of the
205 https://github.com/python/cpython-source-deps.
215 ------------------------
217 The last category of sub-projects listed above wrap external projects
218 Python doesn't control, and as such a little more work is required in
222 directory. This script extracts all the external sub-projects from
223 https://github.com/python/cpython-source-deps
225 https://github.com/python/cpython-bin-deps
226 via a Python script called "get_external.py", located in this directory.
227 If Python 3.6 or later is not available via the "py.exe" launcher, the
228 path or command to use for Python can be provided in the PYTHON_FOR_BUILD
230 version of NuGet and use it to download the latest "pythonx86" package
241 unless you pass the '-E' option.
245 ---------------------------
255 PGI python, and finally creates the optimized files.
258 https://docs.microsoft.com/en-us/cpp/build/profile-guided-optimizations
263 --------------
269 also have to change the "Runtime Library" from "Multi-threaded DLL
270 (/MD)" to "Multi-threaded (/MT)".
274 ------------------------
278 Manager (View -> Other Windows -> Property Manager) but should be
282 * python (versions, directories and build names)