##// END OF EJS Templates
Added compatibility layer for Shell/ipapi/iplib....
Added compatibility layer for Shell/ipapi/iplib. These 3 top-level modules have been moved to core. But, to ease the transition to their new location, we have re-created these modules at the top-level. The new top-level modules print a warning statement and simple import the moved modules for now. In the long run, we can use these for further compatibility related things.

File last commit:

r1753:7cbac8c0
r2061:73165067
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)