netbox-agent/netbox_agent/__init__.py

7 lines
162 B
Python
Raw Normal View History

from pkg_resources import DistributionNotFound, get_distribution
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
pass