summaryrefslogtreecommitdiff
path: root/testing/check_self_install.py
diff options
context:
space:
mode:
authorRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2020-05-17 09:07:32 +0200
committerRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2020-05-20 22:26:45 +0200
commite9a23bdd8b61e7da2d08bc0104cf3f84e5e746ac (patch)
tree8cc38ee4e63cedac5ee8c95c960f7ca2c83166dc /testing/check_self_install.py
parent8e6aa2b5fd42cb257c86e6dbe720eaee6d1e2c9b (diff)
downloadsetuptools-scm-drop-travis.tar.gz
drop travisdrop-travis
* port check-readme to twine check before dist upload * port self install tests to github * artifact downloads
Diffstat (limited to 'testing/check_self_install.py')
-rw-r--r--testing/check_self_install.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/check_self_install.py b/testing/check_self_install.py
new file mode 100644
index 0000000..de3ac79
--- /dev/null
+++ b/testing/check_self_install.py
@@ -0,0 +1,5 @@
+import pkg_resources
+import setuptools_scm
+
+dist = pkg_resources.get_distribution("setuptools_scm")
+assert dist.version == setuptools_scm.get_version(), dist.version