uranusjr / snafu

Work with Python distributions on Windows how it’s supposed to work.
https://snafu.readthedocs.io
ISC License
25 stars 1 forks source link

Install MSVC toolchains #4

Open uranusjr opened 6 years ago

uranusjr commented 6 years ago

More inclined to make this an optional feature because even downloading the minimum build tools is pretty large, like, in GB territory.

Probably something like

snafu install 3.6 --with-toolchain

And a snafu component command to install arbitrary things:

snafu component install 3.6-toolchain

(Component and flag names are subject to change.)

uranusjr commented 6 years ago

https://wiki.python.org/moin/WindowsCompilers https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering

So

Python MSVC Visual Studio
2.7 9.0 2008
3.4 10.0 2010
3.5 3.6 14.0 2015

According to Steve Dower MSVC 14.1 (VS2017) is “theoretically binary compatible” with 14.0 (VS2015), so let’s use that for 3.5 and 3.6 as well. I’m guessing 3.7 will be compiled against 14.1.

Random notes: