1 | #!/usr/bin/env python2 |
2 | """ |
3 | ccompile.py - Compile with builtin compile() function, which uses compile.c. |
4 | """ |
5 | |
6 | import sys |
7 | import stdlib_compile |
8 | |
9 | |
10 | def main(argv): |
11 | in_path = argv[1] |
12 | out_path = argv[2] |
13 | |
14 | stdlib_compile.compileAndWrite(in_path, out_path, compile) |
15 | |
16 | |
17 | if __name__ == '__main__': |
18 | main(sys.argv) |