Python module for locating Visual Studio
Project description
pyfindvs
Python client library for locating Visual Studio 2017.
Usage
The basic functions are findall, findwithall and findwithany.
Calling findall will return a (potentially cached) list of currently installed copies of Visual Studio 2017. Each list item is a VisualStudioInstance object with attributes for name, version, version_info (numeric parts of version as a tuple), path and packages (a set of the installed components).
Calling findwithall or findwithany will only return instances of Visual Studio where all/any of the specified package names are installed.
For example:
>>> pyfindvs.findall() [<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>, <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>] >>> pyfindvs.findwithall('Microsoft.VisualStudio.Component.VC.Tools.x86.x64', 'Microsoft.VisualStudio.Component.Windows10SDK.10586') [<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>] >>> pyfindvs.findwithany('Microsoft.VisualStudio.Component.VC.Tools.x86.x64', 'Microsoft.VisualStudio.Component.Windows10SDK.10586') [<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>, <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfindvs-0.6.144.tar.gz
(16.5 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.6.144-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aef950a5b04a5f12263f6cec653e5e5147d50028d1f3fe6ae7e96d8c16af990 |
|
MD5 | 0498fc615119acf82d7e48cb4ba6cfab |
|
BLAKE2b-256 | 375c3354bf1b29e3d1fc8e4b2ae3f94b2e03eea96e6d0ff6c9793bbc3a7c884b |
Close
Hashes for pyfindvs-0.6.144-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c13a0e0b2745a04f3ff7149839b33ba66e9a23f7b2bb1d58deb8a3d22ce55c21 |
|
MD5 | ae6bd2f6577c22fc24b0ac07746c2b76 |
|
BLAKE2b-256 | 078575abc445af7928318f767e6373bfd2c8ef31118e096c4cda5fae385019b2 |
Close
Hashes for pyfindvs-0.6.144-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf246e27fed7f81d80646f6209a8a48725bdaa47377fa186a5c89ce56e61fce |
|
MD5 | 750d290afbd6c5084038f44439a8732d |
|
BLAKE2b-256 | 765102929a65bb3023d6ee49f1267bba6b9a36a6c278414799f697b37bebb99f |
Close
Hashes for pyfindvs-0.6.144-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91df1e65a6ebb442963dc65f95fa8cfd443993c8edf4d92501b44f0fdafb60a3 |
|
MD5 | 6ffdbf8c34d748b1d6c8d14178b2485f |
|
BLAKE2b-256 | a63a2f3f250926bfc5acdd4982907b9d59224d655cbf2b5fe97d6e6cd6f7d082 |