annotate makeitso/python_package/{{package}}/main.py @ 102:ad5fd3eb6674
template fixes....not the best, but will do
author |
Jeff Hammel <jhammel@mozilla.com> |
date |
Tue, 11 Jan 2011 16:30:52 -0800 |
parents |
8c326f764cfe |
children |
d9201f911458 |
rev |
line source |
79
|
1 #!/usr/bin/env python
|
|
2
|
|
3 """
|
|
4 {{description}}
|
|
5 """
|
|
6
|
|
7 import sys
|
|
8 from optparse import OptionParser
|
|
9
|
|
10 def main(args=sys.argv[:]):
|
|
11 usage = '%prog [options]'
|
|
12 parser = OptionParser(usage=usage, description=__doc__)
|
|
13 options, args = parser.parse_args(args)
|
|
14
|
|
15 if __name__ == '__main__':
|
|
16 main()
|