django-test/env/lib/python3.8/site-packages/setuptools/version.py

7 lines
144 B
Python

import pkg_resources
try:
__version__ = pkg_resources.get_distribution('setuptools').version
except Exception:
__version__ = 'unknown'