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.175.tar.gz
(16.5 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.6.175-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad1c57de6368f7c11f53d9a49da841ef7fc95c8687570d6856b7f210c1c03dff |
|
MD5 | 8bf2e425deedd4a701a069e88f81bc2c |
|
BLAKE2b-256 | 4d775ad3c5c55df49ae5ae7596c6ca804d460a2e33a3b4af98c671a99357da24 |
Close
Hashes for pyfindvs-0.6.175-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73db7fe5e16dcfaafbcdc262165f6ffc87b437c378308d022052bfba691c81e |
|
MD5 | 10c81277df18fbdb0ffc61f92ee2abcc |
|
BLAKE2b-256 | e4d3f61e85c7e1b3d3127afeef8d2976e2f9bc5988074408ab4893e1a2447fd6 |
Close
Hashes for pyfindvs-0.6.175-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551a1ecb0619909511c0a35ff5eb136070878beddbafd67972bd4ec0d547f16b |
|
MD5 | f94f9ea44f102afade3f2d96f7f2f627 |
|
BLAKE2b-256 | 2a059597beed2ad9176e1fec9fc3d8ceaf7b9dbdc2b8afc54515022740786f42 |
Close
Hashes for pyfindvs-0.6.175-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb06159c5d718ec9d6ed168848aec789139837ca2024d1b71735908bd5d5015a |
|
MD5 | f71e693c95d6a087d3e824354e909246 |
|
BLAKE2b-256 | 3107ab8b1b45732eefb51d02f9f3e6f97a6e10f9ad5ed23b63792913a667372c |