version.py 161 B

123456
  1. from ._importlib import metadata
  2. try:
  3. __version__ = metadata.version('setuptools') or '0.dev0+unknown'
  4. except Exception:
  5. __version__ = '0.dev0+unknown'