comparison makeitso/python.py @ 131:4922bee3d080

add single module to registered templates
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 22 Aug 2011 14:51:26 -0700
parents b2152efec89a
children e70421c50d0a
comparison
equal deleted inserted replaced
130:d9201f911458 131:4922bee3d080
21 from cli import MakeItSoCLI 21 from cli import MakeItSoCLI
22 from makeitso import ContentTemplate 22 from makeitso import ContentTemplate
23 from optparse import OptionParser 23 from optparse import OptionParser
24 from template import MakeItSoTemplate 24 from template import MakeItSoTemplate
25 from template import Variable 25 from template import Variable
26
27 class PythonModuleTemplate(MakeItSoTemplate):
28 """single module python package"""
29 templates = ['python_module']
26 30
27 class PythonPackageTemplate(MakeItSoTemplate): 31 class PythonPackageTemplate(MakeItSoTemplate):
28 """ 32 """
29 python package template 33 python package template
30 """ 34 """