[Chicago] __name__ == "__main__"

Ian Bicking ianb at colorstudy.com
Sat Oct 27 18:35:46 CEST 2007


Chris McAvoy wrote:
> On 10/27/07, Ian Bicking <ianb at colorstudy.com> wrote:
>> Chris McAvoy wrote:
>>> I've really enjoyed reading this stuff today...has anyone gone so far
>>> as to script a new Python project startup script to create a default
>>> layout for a new project, script or module?   That would be clever.
>> Of course!
>>
>>    easy_install CmdUtils
>>    paster create --template=cmdutils mycommand
>>
> 
> Did I get punk'd?

I think I never actually released CmdUtils, so:

easy_install PasteScript http://svn.pythonpaste.org/CmdUtils/trunk
paster create --template=cmdutils mycommand


-- 
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org


More information about the Chicago mailing list