# HG changeset patch # User Jeff Hammel # Date 1393814720 28800 # Node ID d6ef91d4960989a9e94ddb2b32a3d1bf35a9fc90 # Parent c3f719824948ea8e7e2fae37edb94ba0e40a3f7f hopefully do away with some extra variable reentry diff -r c3f719824948 -r d6ef91d49609 makeitso/python.py --- a/makeitso/python.py Fri Jan 24 11:03:05 2014 -0800 +++ b/makeitso/python.py Sun Mar 02 18:45:20 2014 -0800 @@ -122,7 +122,9 @@ script_strings = ['[console_scripts]'] for console_script in console_scripts: template = ContentTemplate(console_script) - output = template.substitute(project=variables['project']) + output = template.substitute(project=variables['project'], + package=variables['package'], + main=variables['main']) script_strings.append(output) variables['console_scripts'] = '\n'.join([' ' * len(s) + i for i in script_strings])