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.3.1.tar.gz
(16.1 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.3.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b55387cf071676731ab07b15082cee43d1be1ddc4a4d96fd093f4b8123ab47e |
|
MD5 | 55596ef8b3a80f962dfb6ec210d8a27a |
|
BLAKE2b-256 | a45514f4501bc6393c32f96efc9090254aabd73155f94c963ffa5b159d256a5f |
Close
Hashes for pyfindvs-0.3.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebac5842319c5fb189b1bfb838739f405c08342e7b2ec0f704bf84584eb291ff |
|
MD5 | 3a216a4b51b9423dbb176da6d22e3cd4 |
|
BLAKE2b-256 | e6f54a2e833fc231a4cdefc69cf92c66393470b1cdecaec3402d8da01efac7d1 |
Close
Hashes for pyfindvs-0.3.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbf090bb43859a156426e55c796196f8f1e604a435cd767bfe5c80f77d631afa |
|
MD5 | 2c268a285814c233b3d3d46e56554aec |
|
BLAKE2b-256 | 82c952521a498e7f50e937a6d88d69f76708cfd9a6bac436aca20742c38fcef8 |
Close
Hashes for pyfindvs-0.3.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fb6d5a362ef662f27427d45b19320f3707f46a0f6efa042dad80ee0b8c1735 |
|
MD5 | 82fd806ff85cc8e8dd7f8284dd162723 |
|
BLAKE2b-256 | f7d424f7daeed95c1fdb6ed808bb540a75c8e62389eee147c73a218e3b6e1d23 |