git://source.jalview.org
/
jabaws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
binaries/src/ViennaRNA/interfaces/Python/version_test.py
@@ -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")