diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-09-06 16:13:50 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-09-06 16:13:50 -0400 |
commit | 5b29d620e0cf59b314f3d47457b67b9a39e27d7d (patch) | |
tree | 33a964bf8efbc10096a0419e6e2a205d99d043cf /weekly/__init__.py | |
parent | d7bb3986c104076a2793aa8a89a9292968999564 (diff) | |
download | weekly_og-5b29d620e0cf59b314f3d47457b67b9a39e27d7d.tar.gz |
Initial commit
Diffstat (limited to 'weekly/__init__.py')
-rw-r--r-- | weekly/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/weekly/__init__.py b/weekly/__init__.py new file mode 100644 index 0000000..873e2c3 --- /dev/null +++ b/weekly/__init__.py @@ -0,0 +1,6 @@ +from pkg_resources import get_distribution, DistributionNotFound +try: + __version__ = get_distribution(__name__).version +except DistributionNotFound: + # package is not installed + __version__ = 'unknown' |