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.150.tar.gz
(16.5 kB
view hashes)
Built Distributions
Close
Hashes for pyfindvs-0.6.150-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6b8706069272f42ab8e35f454c71b3cc230926f60edc9fad0af21e8f678d7a |
|
MD5 | b95b53a3d6ff1aa52ee9010b667d6105 |
|
BLAKE2b-256 | 9cbb6e5fa3d1c76774cdd4341eb7c3df5da739d06b59ec32720bcffc007055c5 |
Close
Hashes for pyfindvs-0.6.150-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a524f3f5ec0cebef74559db3b8bed07dff697ee3e168c6b2858c85d7bdf204 |
|
MD5 | ca7a110c1092a6025cfdc72a3da41d6a |
|
BLAKE2b-256 | b7c88391f8d0479c20c649379c68f008e6dbe1df303e80b16fb51b9660d5dfc0 |
Close
Hashes for pyfindvs-0.6.150-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd1483cd428011d75b35c3e0f6da0edd022a62ae6bb54182fc94fe716a14653 |
|
MD5 | f206a1ab4be77038b6caf8a3e87e4c41 |
|
BLAKE2b-256 | e3b2bd8637aa07c87f31ba86801157040083fc3ee6998967b138ec69296e428e |
Close
Hashes for pyfindvs-0.6.150-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac2786a96da4ece56cc6d1dd3fb7b6bd4504e0dd414edd48cfe5f925e0bf254 |
|
MD5 | 18e262ff708ef808858ed0b3e948166c |
|
BLAKE2b-256 | b8c740e072fa59e0bfe8fa1435c8dc0de3080f3a63d07c46402c216cc9f879dc |