7 lines
144 B
Python
Raw Permalink Normal View History

2023-12-31 07:36:28 +01:00
import pkg_resources
try:
__version__ = pkg_resources.get_distribution('setuptools').version
except Exception:
__version__ = 'unknown'