version.py 144 B

123456
  1. import pkg_resources
  2. try:
  3. __version__ = pkg_resources.get_distribution('setuptools').version
  4. except Exception:
  5. __version__ = 'unknown'