need an easy way to determine which version of py.saunter is installed
Closed this issue · 1 comments
How about a --version?
adobe-MacBookPro:echosign mmaypump$ pysaunter.py -h
usage: pysaunter.py [-h] [--new] [-v] [-s] [--tb TB] [-p P] [-m M]
[--traceconfig] [--pdb] [--maxfail MAXFAIL]
[--collectonly]
optional arguments:
-h, --help show this help message and exit
--new creates a new Py.Saunter environment
-v increase verbosity
-s don't capture output
--tb TB traceback print mode (long/short/line/native/no)
-p P early-load given plugin (multi-allowed)
-m M filter based on marks
--traceconfig trace considerations of conftest.py files
--pdb start the interactive Python debugger on errors
--maxfail MAXFAIL exit after first num failures or errors.
--collectonly only collect tests, don't execute them
adobe-MacBookPro:echosign mmaypump$ more which pysaunter.py
!/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
EASY-INSTALL-SCRIPT: 'py.saunter==0.28','pysaunter.py'
requires = 'py.saunter==0.28'
import pkg_resources
pkg_resources.run_script('py.saunter==0.28', 'pysaunter.py')
adobe-MacBookPro:echosign mmaypump$
adding a --version to 0.38