Mercurial > hg > MakeItSo
changeset 131:4922bee3d080
add single module to registered templates
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 22 Aug 2011 14:51:26 -0700 |
parents | d9201f911458 |
children | 06e6eac2fd4d |
files | makeitso/python.py setup.py |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
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
--- 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 """, )