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 NT version
19 Microsoft Visual Studio 2017 (MSVC 14.1) with the *Python workload* and
20 its optional *Python native development* component selected. (For
21 command-line builds, Visual Studio 2015 may also be used.)
31 used to build standard x86-compatible 32-bit binaries, output into the
32 win32 sub-directory. The x64 platform is used for building 64-bit AMD64
33 (aka x86_64 or EM64T) binaries, output into the amd64 sub-directory.
34 The Itanium (IA-64) platform is no longer supported.
38 Used to build Python with extra debugging capabilities, equivalent
39 to using ./configure --with-pydebug on UNIX. All binaries built
42 build and rt (run test) batch files in this directory accept a -d
43 option for debug builds. If you are building Python to help with
46 Used to build Python in Release configuration using PGO, which
50 sub-directory of this directory. The official Python releases may
53 Used to build Python as it is meant to be used in production
57 Building Python using the build.bat script
58 ----------------------------------------------
61 building Python on Windows simpler. This script will use the env.bat
63 which may be used to build Python. Currently Visual Studio 2017 is
66 By default, build.bat will build Python in Release configuration for
67 the 32-bit Win32 platform. It accepts several arguments to change
68 this behavior, try `build.bat -h` to learn more.
72 ---------
74 Visual Studio 2017 uses version 14.0 of the C runtime (vcruntime140).
84 Sub-Projects
85 ------------
87 The CPython project is split up into several smaller sub-projects which
88 are managed by the pcbuild.sln solution file. Each sub-project is
90 name of the sub-project. These sub-projects fall into a few general
93 The following sub-projects represent the bare minimum required to build
95 you'll have a very limited but usable python.exe:
98 python
101 These sub-projects provide extra executables that are useful for running
104 pythonw.exe, a variant of python.exe that doesn't open a Command
107 py.exe, the Python Launcher for Windows, see
108 http://docs.python.org/3/using/windows.html#launcher
113 _testembed.exe, a small program that embeds Python for testing
116 These are miscellaneous sub-projects that don't really fit the other
119 _freeze_importlib.exe, used to regenerate Python\importlib.h after
129 ditto for testing the Python 3.5 stable ABI, see
132 The following sub-projects are for individual modules of the standard
157 The following Python-controlled sub-projects wrap external projects.
161 about getting the source for building these libraries. The sub-projects
164 Python wrapper for version 1.0.6 of the libbzip2 compression library
168 Python wrapper for version 5.2.2 of the liblzma compression library
172 Python wrapper for version 1.1.1k of the OpenSSL secure sockets
174 https://github.com/python/cpython-bin-deps.
180 running PCbuild\prepare_ssl.bat. This will retrieve the version of
183 https://github.com/python/cpython-source-deps.
186 the files in the externals/openssl-bin-<version> folder with your own.
195 Wraps version 8.6.6 of the Tk windowing system, which is downloaded
197 https://github.com/python/cpython-bin-deps.
203 PCbuild\prepare_tcltk.bat. This will retrieve the version of the
206 https://github.com/python/cpython-source-deps.
216 ------------------------
218 The last category of sub-projects listed above wrap external projects
219 Python doesn't control, and as such a little more work is required in
223 directory. This script extracts all the external sub-projects from
224 https://github.com/python/cpython-source-deps
226 https://github.com/python/cpython-bin-deps
227 via a Python script called "get_external.py", located in this directory.
228 If Python 3.6 or later is not available via the "py.exe" launcher, the
229 path or command to use for Python can be provided in the PYTHON_FOR_BUILD
231 version of NuGet and use it to download the latest "pythonx86" package
242 unless you pass the '-E' option.
246 ---------------------------
256 PGI python, and finally creates the optimized files.
259 http://msdn.microsoft.com/en-us/library/e7k32f4k(VS.140).aspx
264 --------------
270 also have to change the "Runtime Library" from "Multi-threaded DLL
271 (/MD)" to "Multi-threaded (/MT)".
275 ------------------------
279 Manager (View -> Other Windows -> Property Manager) but should be
283 * python (versions, directories and build names)