7 lines
162 B
Python
7 lines
162 B
Python
|
from pkg_resources import get_distribution, DistributionNotFound
|
||
|
|
||
|
try:
|
||
|
__version__ = get_distribution(__name__).version
|
||
|
except DistributionNotFound:
|
||
|
pass
|