@@ -316,18 +316,32 @@ still build properly).
316
316
Windows
317
317
'''''''
318
318
319
- **Python 3.5 ** and later use Microsoft Visual Studio 2015. You can download
320
- and use any of the free or paid versions of `Visual Studio 2015 `_. Installing
321
- the latest updates is also recommended. See the readme _ for
322
- more details on what other software is necessary and how to build.
323
-
324
- **Python 2.7 ** uses Microsoft Visual Studio 2008, which is most easily obtained
325
- through an MSDN subscription. To use the build files in the `PCbuild
326
- directory `_ you will also need Visual Studio 2010, see the `2.7 readme `_ for
327
- more details. If you have VS 2008 but not 2010 you can use the build files in
328
- the `PC/VS9.0 directory `_, see the `VS9 readme `_ for details.
329
-
330
- .. _Visual Studio 2015 : https://www.visualstudio.com/
319
+ **Python 3.6 ** and later can use Microsoft Visual Studio 2017. You can download
320
+ and use any of the free or paid versions of `Visual Studio 2017 `_.
321
+
322
+ When installing Visual Studio 2017, select the **Python workload ** and the
323
+ optional **Python native development ** component to obtain all of the necessary
324
+ build tools. If you do not already have git installed, you can find git for
325
+ Windows on the **Individual components ** tab of the installer.
326
+
327
+ Your first build should use the command line to ensure any external dependencies
328
+ are downloaded::
329
+
330
+ PCBuild\build.bat
331
+
332
+ After this build succeeds, you can open the ``PCBuild\pcbuild.sln `` solution in
333
+ Visual Studio to continue development.
334
+
335
+ See the `readme `_ for more details on what other software is necessary and how
336
+ to build.
337
+
338
+ .. note :: **Python 2.7** uses Microsoft Visual Studio 2008, which is most easily
339
+ obtained through an MSDN subscription. To use the build files in the
340
+ `PCbuild directory `_ you will also need Visual Studio 2010, see the `2.7
341
+ readme `_ for more details. If you have VS 2008 but not 2010 you can use the
342
+ build files in the `PC/VS9.0 directory `_, see the `VS9 readme `_ for details.
343
+
344
+ .. _Visual Studio 2017 : https://www.visualstudio.com/
331
345
.. _readme : https://github.com/python/cpython/blob/master/PCbuild/readme.txt
332
346
.. _PCbuild directory : https://github.com/python/cpython/tree/2.7/PCbuild/
333
347
.. _2.7 readme : https://github.com/python/cpython/blob/2.7/PCbuild/readme.txt
0 commit comments