396c4b5d10
* add requirements.txt * Create LICENSE * add test directory * code cleanup * flake8 fixes and code cleanup * setup.py and tox.ini * more fixes
6 lines
162 B
Python
6 lines
162 B
Python
from pkg_resources import DistributionNotFound, get_distribution
|
|
|
|
try:
|
|
__version__ = get_distribution(__name__).version
|
|
except DistributionNotFound:
|
|
pass
|