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.1.1.tar.gz
(4.9 kB
view hashes)
Built Distributions
pyfindvs-0.1.1-cp36-cp36m-win32.whl
(155.0 kB
view hashes)
pyfindvs-0.1.1-cp35-none-win32.whl
(155.0 kB
view hashes)
Close
Hashes for pyfindvs-0.1.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b62d399421c039edad25486f7c90de6d0f22a820d4943a138566791068233791 |
|
MD5 | 60420034c3e86353ca511b372ecde320 |
|
BLAKE2b-256 | b781b3edc821e147d1915081a0fd4922e53b55f282c5e94cc8b177d417e9c261 |
Close
Hashes for pyfindvs-0.1.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663460ef90e065166c2b2a98d322d9c4db52effa2c7cbf83e20b64d4c80166aa |
|
MD5 | 20220fc8ce0636f07abc59384aa2366c |
|
BLAKE2b-256 | a3a48b773a3bc830617121257ef77a52d75dc8aa51754851b5fb26a6b0e85c93 |
Close
Hashes for pyfindvs-0.1.1-cp35-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beaefa2b57f7afa65f96bb3f88908cd8ce3d70a904f0fb0983affd9d48f459bd |
|
MD5 | 2b7aaf062628c0e6718b041566a1b533 |
|
BLAKE2b-256 | d855cc6ef767fc74a9b941c4a33da441706a1424d68a8eb72a0a5ce6454be405 |
Close
Hashes for pyfindvs-0.1.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad826a919ac374b36b260cd6a8e08e7f0edcee9d07be56b5c672650d06c5537e |
|
MD5 | 37f03b307c969b5fd3c1570cfb865136 |
|
BLAKE2b-256 | da4ae0b77e3e390aa55ff1f3e8579cf3a75c79e9d880381c1f99baa45124bba1 |