view makeitso/python_package/{{package}}/template.py @ 195:3cb66c9e5ce8

STUB: makeitso/python_package/{{package}}/{{main}}.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 16 May 2014 23:59:10 -0700
parents ad5fd3eb6674
children
line wrap: on
line source

#!/usr/bin/env python

"""
{{project}} template for makeitso
"""

import sys
from cli import MakeItSoCLI
from optparse import OptionParser
from template import MakeItSoTemplate

class {{project}}Template(MakeItSoTemplate):
  """
  {{project}} template
  """
  name = '{{project}}'
  templates = ['template']
  look = True

class TemplateCLI(MakeItSoCLI):
  """
  CLI driver for the {{project}} template
  """

def main(args=sys.argv[:]):
  cli = TemplateCLI()
  cli(*args)
  
if __name__ == '__main__':
  main()