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.67.tar.gz
(16.1 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.5.67-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 060e7ca970507e7b2cc564675db97004784a8075f64cd410561b55076ff17d16 |
|
MD5 | d656b3a899e56c78a7bb799f846c1b70 |
|
BLAKE2b-256 | aaff1251e1010176ec91ec805293fb6b18ee9bfdbb956783ea08a3f7222c6f95 |
Close
Hashes for pyfindvs-0.5.67-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0961d95218b507a3a0e54df3afa04a51372c4f468d7e35d288820b72149a4ab |
|
MD5 | e54c35d0a7a2027df88a7340973624fd |
|
BLAKE2b-256 | 184529be0ad927a739e5762f1581c78fd2c35d62ba8f324accea3260f3758670 |
Close
Hashes for pyfindvs-0.5.67-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b55952865783e960659f8a50a18bcfd9d848d5aeb4082b8fefd5464e83d8149 |
|
MD5 | 277a29c8f6b3ac4b97dcf1e6b3fed210 |
|
BLAKE2b-256 | 55bd18f1d48b4eb78e186eafedd3e03b86986b23159209b0f8350b292c9e30e7 |
Close
Hashes for pyfindvs-0.5.67-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5076375b2afbbb1fce4e45e490f2bc8c8b0331871688e14941d2402233dbc0e |
|
MD5 | aad4cd0da1112ea6f3a89c5ecfaecfbe |
|
BLAKE2b-256 | 93581f2652106a9b365cc94edef7e7c78ebad5919ea1ef98882ba3ef8931b80f |