Mercurial > hg > MakeItSo
comparison makeitso/python.py @ 180:9b78f52afe4e
STUB: makeitso/python.py setup.py
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Fri, 14 Mar 2014 13:34:52 -0700 |
| parents | 5bd1c50c6f61 |
| children | 5a2edca13b36 |
comparison
equal
deleted
inserted
replaced
| 179:5bd1c50c6f61 | 180:9b78f52afe4e |
|---|---|
| 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): | 31 class SetupPy(MakeItSoTemplate): |
| 32 """template for setup.py""" | 32 """template for setup.py""" |
| 33 template = [('python_package', 'setup.py')] | 33 templates = [('python_package', 'setup.py')] |
| 34 | 34 |
| 35 class PythonTemplate(MakeItSoTemplate): | 35 class PythonTemplate(MakeItSoTemplate): |
| 36 """abstract base class for python-type templates""" | 36 """abstract base class for python-type templates""" |
| 37 vars = [Variable('description'), | 37 vars = [Variable('description'), |
| 38 Variable('author', 'author of the package'), | 38 Variable('author', 'author of the package'), |
