Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: Add __version__ attribute for the tasklib module
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] pypa/setuptools#510 [2] pypa/setuptools#926
- Loading branch information