WSTester updated to work plus hopefully all the other changes that need to go into...
[jabaws.git] / binaries / src / ViennaRNA / interfaces / Python / version_test.py
diff --git a/binaries/src/ViennaRNA/interfaces/Python/version_test.py b/binaries/src/ViennaRNA/interfaces/Python/version_test.py
new file mode 100644 (file)
index 0000000..58f251e
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+#
+
+import sys
+if sys.hexversion < 0x020500F0:
+    print("must use python 2.5 or greater")
+elif sys.hexversion >= 0x030000F0:
+    print("must use python 2")
+else:
+    print("ok")