CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
791 stars 75 forks source link

Add version information to module #128

Closed mairsbw closed 8 years ago

mairsbw commented 8 years ago

It's helpful when checking dependencies programmatically or for a developer to be able to retrieve version information from the modules __version__ attribute (see PEP396).

Our use case is a check_dependencies.py script that the developer can run to verify they have all necessary packages installed and that they're the correct version.

CleanCut commented 8 years ago

Excellent idea. Especially since I already did the hard work setting green.version.__version__, so it's only a one-line fix.

CleanCut commented 8 years ago

Included in 2.5.1 (just released).