comparison makeitso/python.py @ 179:5bd1c50c6f61

works weirdly but kinda works
author Jeff Hammel <k0scist@gmail.com>
date Thu, 13 Mar 2014 17:30:27 -0700
parents d6ef91d49609
children 9b78f52afe4e
comparison
equal deleted inserted replaced
178:d6ef91d49609 179:5bd1c50c6f61
26 from makeitso import ContentTemplate 26 from makeitso import ContentTemplate
27 from optparse import OptionParser 27 from optparse import OptionParser
28 from template import MakeItSoTemplate 28 from template import MakeItSoTemplate
29 from template import Variable 29 from template import Variable
30 30
31 class SetupPy(MakeItSoTemplate):
32 """template for setup.py"""
33 template = [('python_package', 'setup.py')]
31 34
32 class PythonTemplate(MakeItSoTemplate): 35 class PythonTemplate(MakeItSoTemplate):
33 """abstract base class for python-type templates""" 36 """abstract base class for python-type templates"""
34 vars = [Variable('description'), 37 vars = [Variable('description'),
35 Variable('author', 'author of the package'), 38 Variable('author', 'author of the package'),