# HG changeset patch # User Jeff Hammel # Date 1314049886 25200 # Node ID 4922bee3d080bf4a33effed73f5447f393cd0b04 # Parent d9201f9114586640ed8d602397b30e566c390728 add single module to registered templates diff -r d9201f911458 -r 4922bee3d080 makeitso/python.py --- 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 diff -r d9201f911458 -r 4922bee3d080 setup.py --- a/setup.py Mon Aug 01 21:58:15 2011 -0700 +++ b/setup.py Mon Aug 22 14:51:26 2011 -0700 @@ -7,7 +7,7 @@ except IOError: description = '' -version = '0.2.3' +version = '0.2.4' setup(name='MakeItSo', version=version, @@ -35,5 +35,6 @@ [makeitso.templates] python-package = makeitso.python:PythonPackageTemplate + python-module = makeitso.python:PythonModuleTemplate """, )