Skip to content

Instantly share code, notes, and snippets.

@reece
Created November 27, 2016 21:41
Show Gist options
  • Save reece/6d26c0b3a45ced81e50fa073f2b25e6b to your computer and use it in GitHub Desktop.
Save reece/6d26c0b3a45ced81e50fa073f2b25e6b to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import os
os.environ["SETUPTOOLS_SCM_DEBUG"] = "1"
import pkg_resources
import setuptools_scm
print("setuptools_scm = " + str(pkg_resources.get_distribution("setuptools_scm")))
print(setuptools_scm.get_version())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment