##// END OF EJS Templates
Make it possible to run the tests from the source dir without installation....
Make it possible to run the tests from the source dir without installation. Also clean up the handling of command-line options for iptest, so that all options given at the top-level are correctly passed to nose. Fixes: https://bugs.launchpad.net/ipython/+bug/507079

File last commit:

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