comparison makeitso/python_package/{{package}}/{{main}}.py @ 187:74f41d53b057

STUB: makeitso/python_package/{{package}}/{{main}}.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 11 Apr 2014 17:06:22 -0700
parents a5d058957734
children 1bcf60bcc455
comparison
equal deleted inserted replaced
186:12128bd1f021 187:74f41d53b057
3 3
4 """ 4 """
5 {{description}} 5 {{description}}
6 """ 6 """
7 7
8 # imports
8 import optparse 9 import optparse
9 import os 10 import os
10 import subprocess 11 import subprocess
11 import sys 12 import sys
13
14 __all__ = ['main']
15 here = os.path.dirname(os.path.realpath(__file__))
12 16
13 def add_options(parser): 17 def add_options(parser):
14 """add options to the OptionParser instance""" 18 """add options to the OptionParser instance"""
15 19
16 def main(args=sys.argv[1:]): 20 def main(args=sys.argv[1:]):