##// END OF EJS Templates
Merge: Final doc updates for release 0.9.1.
Merge: Final doc updates for release 0.9.1.

File last commit:

r1717:90b3f087
r1726:fab347b9 merge rel-0.9.1
Show More
compile.py
20 lines | 417 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Call the compile script to check that all code we ship compiles correctly.
"""
import os
import sys
vstr = '.'.join(map(str,sys.version_info[:2]))
stat = os.system('python %s/lib/python%s/compileall.py .' % (sys.prefix,vstr))
print
if stat:
print '*** THERE WAS AN ERROR! ***'
print 'See messages above for the actual file that produced it.'
else:
print 'OK'
sys.exit(stat)