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.2.0.tar.gz
(4.7 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f722a013ecb390e7efb8fd3072edf4b735906c604b1e15cc25b030d598d21f0 |
|
MD5 | 282c8a0bfb301cf812c79ae9d2c95518 |
|
BLAKE2b-256 | f382f434271597186211645c13373223e105e3d3f3a887a6944311bddc2a3dfb |
Close
Hashes for pyfindvs-0.2.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562e0fc6bca1f3665f90d5fcf63f0c32f02b23428cfb673a79c1058ab0274ee2 |
|
MD5 | 3be1349d59c7dd77af17ed56243e770b |
|
BLAKE2b-256 | c48e7765468182c3e22ae764f24734ef9fa1150c24b430ae1dddf278516613f5 |
Close
Hashes for pyfindvs-0.2.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cbe4722a88ee445b1a73164b7f208a255960dff0bfa19c4ce46237473d02329 |
|
MD5 | 5545a1a6308b45e00781d77734be8b70 |
|
BLAKE2b-256 | d8882e2a12d46c10288904d1e6d621a9d231b4576b42301389ecd57e6b1d5fd4 |
Close
Hashes for pyfindvs-0.2.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a24579fc01772afd47cfb711b45b7c202c4042befbabd9fd6ed923a5841d69 |
|
MD5 | ec7d3072ed2f1a206b40bdda45c4aa2b |
|
BLAKE2b-256 | c76d5de06951c679a0d3b9bb0423fcfcf157cbd808caaa086d5dfeaae592fe27 |