[Zope-dev] [Checkins] SVN: zope.annotation/trunk/setup.py Whitespace fixes

Fred Drake fdrake at gmail.com
Fri Apr 3 10:08:33 EDT 2009


2009/4/2 Marius Gedminas <marius at gedmin.as>:
> looks like a mistaken assignment of a tuple to a name, while
>
>  setup(
>  <many lines>
>    foo=bar,
>  <many more lines>
>  )
>
> looks like a function call.

Agreed; the common use of spaces around the equal signs in setup.py is
a holdover from Greg Ward's coding style (Greg being the original
author of distutils).

AFAICT, they remain prevalent in setup.py because most new setup.py
files are generated by copying an existing setup.py from another
project.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Zope-Dev mailing list