##// END OF EJS Templates
Cleaned up release tools directory....
Cleaned up release tools directory. Converted almost all to python scripts and made toollib to collect common functions and avoid repetition. Properly commented and documented what each script does. The run_ipy_in_profiler one seems broken, I'm not sure what to do with it. We need to either fix it or remove it later, but it's not critical for 0.10.

File last commit:

r2118:ec9810f7
r2118:ec9810f7
Show More
compile.py
19 lines | 397 B | text/x-python | PythonLexer
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717 #!/usr/bin/env python
Fernando Perez
Cleaned up release tools directory....
r2118 """Script to check that all code in a directory compiles correctly.
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717
Fernando Perez
Cleaned up release tools directory....
r2118 Usage:
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717
Fernando Perez
Cleaned up release tools directory....
r2118 compile.py
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717
Fernando Perez
Cleaned up release tools directory....
r2118 This script verifies that all Python files in the directory where run, and all
of its subdirectories, compile correctly.
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717
Fernando Perez
Cleaned up release tools directory....
r2118 Before a release, call this script from the top-level directory.
"""
import sys
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717
Fernando Perez
Cleaned up release tools directory....
r2118 from toollib import compile_tree
Brian Granger
Adding tools/compile.py that test compiles all .py files.
r1717
Fernando Perez
Cleaned up release tools directory....
r2118 if __name__ == '__main__':
compile_tree()