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.5.68.tar.gz
(16.1 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.5.68-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb6420386d63ca2ccac1e996bbc7845938e1414e8909b4a4d70b602f6a2edcf |
|
MD5 | 65a782eb30012b182881831cb1088f39 |
|
BLAKE2b-256 | f4657db4e192fbd63a11ae6728c92d061443c289cf799ea7c6813594e346fc73 |
Close
Hashes for pyfindvs-0.5.68-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db48201eaf9006b00ee127b6600899cacc296aaaedaf2063ed178f159aa809b |
|
MD5 | 6c92ab16220067926f37bf29e8b8c8a2 |
|
BLAKE2b-256 | 7d7f74e9bf668841b20469562a42a7b445cb5c42cb0f727093b3b80b941af83b |
Close
Hashes for pyfindvs-0.5.68-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea0ed5bb64c4fa0923144565027627b79dbaf578188c3576fdfe3ffbc413967 |
|
MD5 | 65899b2ec5575864ed8ee66d45bd3934 |
|
BLAKE2b-256 | cb5c2e01a7e403ca12fb4200c3e04b89354aaaaadc6e68685ec989d3e79a5eaa |
Close
Hashes for pyfindvs-0.5.68-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b004cfb0eef8cf5ee500d86a4d597591ac5040c6b45df28b95723b1383614a5 |
|
MD5 | 95d246f2da809b9d29e4ec9aa6df8e7d |
|
BLAKE2b-256 | 505832976e4ba8dc3ad5bb6a1b0fa88810f0e0a1162db873b48671fb334537a6 |