-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Added shell command for determining pyswbem version
The command was found to be needed, because the `pywbem.__version__` attribute was added only in pywbem 0.8.1, and the 0.7.0 version is widely deployed. The algorithm tries the following sources for the version, in order: - The value of the `pywbem.__version__` attribute - Otherwise, the output of the `setup.py --version` command. This is used for versions earlier than 0.8.1 that are installed using Python pip or easy_install, and it depends on the setup.py file being installed as well. - Otherwise, the version defaults to 0.7.0. This is used when Linux distributions have packaged pywbem, without adding its setup.py. Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
- Loading branch information
1 parent
fb19a89
commit b47b17c
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters