diff 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
line wrap: on
line diff
--- a/makeitso/python.py	Mon Aug 01 21:58:15 2011 -0700
+++ b/makeitso/python.py	Mon Aug 22 14:51:26 2011 -0700
@@ -24,6 +24,10 @@
 from template import MakeItSoTemplate
 from template import Variable
 
+class PythonModuleTemplate(MakeItSoTemplate):
+  """single module python package"""
+  templates = ['python_module']
+
 class PythonPackageTemplate(MakeItSoTemplate):
   """
   python package template