summaryrefslogtreecommitdiff
path: root/contrib/splice3/LINUX/splice3.compile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/splice3/LINUX/splice3.compile')
-rwxr-xr-xcontrib/splice3/LINUX/splice3.compile15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/splice3/LINUX/splice3.compile b/contrib/splice3/LINUX/splice3.compile
new file mode 100755
index 0000000..11090b9
--- /dev/null
+++ b/contrib/splice3/LINUX/splice3.compile
@@ -0,0 +1,15 @@
+#!/usr/bin/python2.7
+from py_compile import compile
+from sys import exit
+
+try:
+ compile('LINUX/splice3-deshadow.py', 'LINUX/splice3-deshadow.pyc')
+except:
+ print '***ERROR*** splice3: splice3-deshadow.py failed to compile :-('
+ exit('quitting...')
+
+try:
+ compile('LINUX/splice3.py', 'LINUX/splice3.pyc')
+except:
+ print '***ERROR*** splice3: splice3.py failed to compile'
+ exit('quitting...')