On 27.01.2022 14:43, Steve Dower wrote: > I see no reason to point to anything but the newest Visual Studio, and any of > the v14x toolsets (there are no v15x toolsets to worry about yet, so this is > essentially the newest MSVC). > > Ideally, I'd rather Python _users_ point package developers to this page so > they can release wheels, rather than expecting users to manage package > compilation. But if they've ended up with that job then Visual Studio is > still the safest recommendation. The Build Tools are only slightly more > convenient, but they also obscure the license terms users are working under > because they implicitly require the acceptance (and eligibility) of a Visual > Studio license. > > So for simplicity: install latest Visual Studio, with Python workload and > Python Native Development option. > > For specificity: install any v14x MSVC toolset for your target platform(s), > and the latest Windows SDK (which are all found in the VS installer under > Native development). Set $env:PlatformToolset to your toolset version before > building if it doesn't detect it. > > Currently we're using the v143 toolset for releases, but this can change at > any time because it has no impact on the ABI. If someone wants to put that > information on the page, feel free, but I'm not volunteering to keep it > updated :) The "official" source of truth is > https://github.com/python/cpython/blob/main/PCbuild/python.props
Thanks for the additional infos. I have updated the page with a new section using VS 2022: https://wiki.python.org/moin/WindowsCompilers I also fixed the 2019 link to point to the VS old downloads page. > Cheers, > Steve > > (Apologies for the messed up quotes below, I can't override my work email's > settings on this. Use steve.do...@python.org to avoid it.) > > -----Original Message----- > From: Marc-Andre Lemburg <m...@egenix.com> > Sent: Thursday, January 27, 2022 9:48 AM > To: Gerard Higgins <higg...@chalmers.se>; pydotorg-www@python.org; Steve > Dower <steve.do...@microsoft.com> > Subject: Re: [pydotorg-www] Windows compilers > > [You don't often get email from m...@egenix.com. Learn why this is important > at http://aka.ms/LearnAboutSenderIdentification.] > > Hi Gerard, > > thanks for the note. I'll try to get more information from our Windows expert > on this: Steve Dower. > > Steve: How could we best update the page to guide people to the current set > of tools ? > > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.python.org%2Fmoin%2FWindowsCompilers&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672467195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LC6b2UKiUd5F3w5n6drH2ObHWQ1RmE7xrGwcMalirsw%3D&reserved=0 > > The dev guide (still) points to VS2017: > > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevguide.python.org%2Fsetup%2F%23windows&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672467195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=q1OdXgCTf%2BA7gc1bjVcbqbllnuShR1BWiM9Mq47YvH8%3D&reserved=0 > > but it already mentions the the "workload" installation approach. > > Would it be a good idea to point Python users in the same direction or is > there a less involved setup/download available ? > > Thanks, > -- > Marc-Andre Lemburg > > > > On 27.01.2022 08:59, Gerard Higgins wrote: >> Hi, >> >> >> >> I suggest an edit on the windows compilers page >> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.python.org%2Fmoin%2FWindowsCompilers&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672467195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LC6b2UKiUd5F3w5n6drH2ObHWQ1RmE7xrGwcMalirsw%3D&reserved=0. >> >> The link to /Microsoft Build Tools for Visual Studio 2019 >> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww >> .visualstudio.com%2Fdownloads%2F%23build-tools-for-visual-studio-2019& >> amp;data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce0 >> 8d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377887386724 >> 67195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB >> TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7PilJT%2FsdfD3nNdMWE7AKE1L >> 1TBHzb%2BzOnQ%2Fesxafy8%3D&reserved=0> >> //now goes to Visual Studio 2022. I suggest linking to >> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmy.v >> isualstudio.com%2FDownloads%3Fq%3Dvisual%2520studio%25202019%26wt.mc_i >> d%3Do~msft~vscom~older-downloads&data=04%7C01%7CSteve.Dower%40micr >> osoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7 >> cd011db47%7C1%7C0%7C637788738672467195%7CUnknown%7CTWFpbGZsb3d8eyJWIjo >> iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000& >> ;sdata=Cle0FmaIrr4XI4u44k8PfGoi6WYpradZK7eg2onfHew%3D&reserved=0 >> and recommending version 16.0 (in the latest version it's difficult to >> find the >> C++ build tools./ >> >> >> >> All the best, >> >> Gerard >> >> >> _______________________________________________ >> pydotorg-www mailing list >> pydotorg-www@python.org >> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail >> .python.org%2Fmailman%2Flistinfo%2Fpydotorg-www&data=04%7C01%7CSte >> ve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf >> 86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672467195%7CUnknown%7CTWFp >> bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn >> 0%3D%7C3000&sdata=emJCW%2FJZTBgdJ%2FQQ%2FsjqnRU1s%2BQ1nWF%2BcmNoOL >> lUQrQ%3D&reserved=0 >> > > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Experts (#1, Jan 27 2022) >>>> Python Projects, Coaching and Support ... >>>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.egenix.com%2F&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672467195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=p1RNrmBLty%2BN3skku9%2BGsfXkUmnCqPAH4plO4tiGfnI%3D&reserved=0 >>>> Python Product Development ... >>>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fconsulting.egenix.com%2F&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672517191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3uabNCHZ9sktPBNUgV1Er8g7%2BJarsddEw7vibSYQABc%3D&reserved=0 > ________________________________________________________________________ > > ::: We implement business ideas - efficiently in both time and costs ::: > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.egenix.com%2Fcompany%2Fcontact%2F&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672517191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=58J2sR%2Fksof%2F%2BGHZnS8SOyMy%2BYkz9KyS1KRIh%2FGGPoA%3D&reserved=0 > > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.malemburg.com%2F&data=04%7C01%7CSteve.Dower%40microsoft.com%7C03b91616d6f14d3b18ce08d9e17a28f3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637788738672517191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=eiRokJA4ua4Yxc%2BZJh0K4i6Roo5ZUQ8%2FuLkUSzrIz6U%3D&reserved=0 > -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, Jan 27 2022) >>> Python Projects, Coaching and Support ... https://www.egenix.com/ >>> Python Product Development ... https://consulting.egenix.com/ ________________________________________________________________________ ::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 https://www.egenix.com/company/contact/ https://www.malemburg.com/ _______________________________________________ pydotorg-www mailing list pydotorg-www@python.org https://mail.python.org/mailman/listinfo/pydotorg-www