Providing __version__ attribute is a reasonably common convention among
packages in the Python ecosystem. Currently the only other reliable
alternative is to use pkg_resources.get_distribution method, however,
importing pkg_resources is notoriously slow [1,2].
Provide the __version__ attribute to provide an API interface to check
the version of tasklib at runtime.
Bump the version in order to reflect module API change.
Coverage increased (+0.01%) to 92.159% when pulling d035a3428c6343b4f218e51340ddf690ad8c57ee on tbabej:develop into e0d5a3f271a18c77e53bc6b2d4c79514d63fe402 on robgolding:develop.
Providing
__version__
attribute is a reasonably common convention among packages in the Python ecosystem. Currently the only other reliable alternative is to use pkg_resources.get_distribution method, however, importing pkg_resources is notoriously slow [1,2].Provide the
__version__
attribute to provide an API interface to check the version of tasklib at runtime.Bump the version in order to reflect module API change.
[1] https://github.com/pypa/setuptools/issues/510 [2] https://github.com/pypa/setuptools/issues/926