Mercurial > hg > MakeItSo
view makeitso/python_package/{{package}}/main.py @ 105:67b50417b8d1
stub out loading api templates; this wont work, however, since one is in the middle of a module trying to load a module that depends on the module you are in
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 11 Jan 2011 19:23:53 -0800 |
parents | 8c326f764cfe |
children | d9201f911458 |
line wrap: on
line source
#!/usr/bin/env python """ {{description}} """ import sys from optparse import OptionParser def main(args=sys.argv[:]): usage = '%prog [options]' parser = OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) if __name__ == '__main__': main()