From bac0a81ac1f21f3ee401406b20bbd53f3bf1e4af Mon Sep 17 00:00:00 2001
From: Natalia Mokeeva <91160475+natmokval@users.noreply.github.com>
Date: Sat, 10 Dec 2022 16:44:10 +0100
Subject: [PATCH] Backport PR #50144: DOC: BT for VisualStudio2022
---
.../development/contributing_environment.rst | 30 ++++++-------------
1 file changed, 9 insertions(+), 21 deletions(-)
diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst
index afa0d0306f1af..c018d036a7192 100644
--- a/doc/source/development/contributing_environment.rst
+++ b/doc/source/development/contributing_environment.rst
@@ -36,29 +36,17 @@ These packages will automatically be installed by using the ``pandas``
**Windows**
-You will need `Build Tools for Visual Studio 2019
-`_.
+You will need `Build Tools for Visual Studio 2022
+`_.
-.. warning::
- You DO NOT need to install Visual Studio 2019.
- You only need "Build Tools for Visual Studio 2019" found by
- scrolling down to "All downloads" -> "Tools for Visual Studio 2019".
- In the installer, select the "C++ build tools" workload.
-
-You can install the necessary components on the commandline using
-`vs_buildtools.exe `_:
-
-.. code::
-
- vs_buildtools.exe --quiet --wait --norestart --nocache ^
- --installPath C:\BuildTools ^
- --add "Microsoft.VisualStudio.Workload.VCTools;includeRecommended" ^
- --add Microsoft.VisualStudio.Component.VC.v141 ^
- --add Microsoft.VisualStudio.Component.VC.v141.x86.x64 ^
- --add Microsoft.VisualStudio.Component.Windows10SDK.17763
+.. note::
+ You DO NOT need to install Visual Studio 2022.
+ You only need "Build Tools for Visual Studio 2022" found by
+ scrolling down to "All downloads" -> "Tools for Visual Studio".
+ In the installer, select the "Desktop development with C++" Workloads.
-To setup the right paths on the commandline, call
-``"C:\BuildTools\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.16 10.0.17763.0``.
+Alternatively, you can install the necessary components on the commandline using
+`vs_BuildTools.exe `_
**macOS**