summaryrefslogtreecommitdiffstats
path: root/codegen/codegen.py
blob: 6486fb7f3a441ea51605153830938b5d38d6ac92 (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/env python

# codegen.py is runnable as a script and available as module in codegen package
if __name__ == '__main__':
    from libcodegen import codegen
    import sys
    sys.exit(codegen.main(sys.argv))
else:
    from codegen.libcodegen.codegen import *