# HG changeset patch # User Jeff Hammel # Date 1394757027 25200 # Node ID 5bd1c50c6f61f6e25e427450f54aa644a882b1cb # Parent d6ef91d4960989a9e94ddb2b32a3d1bf35a9fc90 works weirdly but kinda works diff -r d6ef91d49609 -r 5bd1c50c6f61 makeitso/python.py --- a/makeitso/python.py Sun Mar 02 18:45:20 2014 -0800 +++ b/makeitso/python.py Thu Mar 13 17:30:27 2014 -0700 @@ -28,6 +28,9 @@ from template import MakeItSoTemplate from template import Variable +class SetupPy(MakeItSoTemplate): + """template for setup.py""" + template = [('python_package', 'setup.py')] class PythonTemplate(MakeItSoTemplate): """abstract base class for python-type templates""" diff -r d6ef91d49609 -r 5bd1c50c6f61 setup.py --- a/setup.py Sun Mar 02 18:45:20 2014 -0800 +++ b/setup.py Thu Mar 13 17:30:27 2014 -0700 @@ -1,5 +1,5 @@ import os -from setuptools import setup, find_packages +from setuptools import setup try: here = os.path.dirname(os.path.abspath(__file__)) @@ -39,5 +39,6 @@ python-package = makeitso.python:PythonPackageTemplate python-module = makeitso.python:PythonModuleTemplate python-script = makeitso.python:PythonScriptTemplate + setup.py = makeitso.python:SetupPy """, )