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.0.tar.gz
(16.0 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.3.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2e66c5b7f56ba5609002c19b12a1f1921cbafd202cca88561b960f1ba38d058 |
|
MD5 | 912cc78f8cdedf382668408e8dcbb1f5 |
|
BLAKE2b-256 | 8f20a9bebfd438e244e40aff94b22e4e8b7ce36c1560bb2578c9363c045a52eb |
Close
Hashes for pyfindvs-0.3.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26fe5a3e692903ac0a77605f895dc65a57be522d89506f70b353040b687300cb |
|
MD5 | 317ad8eea3e8e0e95dcf7c22d8d0f685 |
|
BLAKE2b-256 | ec91d718b45cdecf9925fc1dd35b3179c091b5eaec87b2431bddcf424fa729d2 |
Close
Hashes for pyfindvs-0.3.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 238baf88d8b024a5d66ebf416f22c3335e0e6ad8581fae9fe4a909a865324425 |
|
MD5 | 0d7ac86db48cb24d89b59844d39b28d6 |
|
BLAKE2b-256 | 9f292bb29adbd224409ce9d99a7e1c740731bf675fc7a87e3dbc1e376eaa8149 |
Close
Hashes for pyfindvs-0.3.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fac7a33f16e0da17a26c6c6d3dd24a0c15a7096d58c62200ea523097345235d |
|
MD5 | 7c517666d5dac2e4bf78ca4ee717b00b |
|
BLAKE2b-256 | 4e04fc8f852c6e54bc86ff7bb4831adc7acb16d3f0c78d8d4ed52baf91af7272 |