Creating Python "executables" on Windows?

David Bolen db3l at fitlinxx.com
Fri Aug 18 04:33:30 EDT 2000


azratax at yahoo.com (Azratax) writes:

>   File "C:\Python16\tools\install\MEInc\Dist\archivebuilder.py", line 79, in 
> Dep
> endencies
>     rslt.append(k, v.__file__)
> TypeError: append requires exactly 1 argument; 2 given
> 
> Somethimg seems very wrong here. 

Looks like the installer package got bit by one of the non-backward
"tightening" up changes in 1.6 - append takes a single object, but
used to permit the above notation to be treated as a tuple.  See the
"Expected Breakage" section at http://www.python.org/1.6/.

I don't have 1.6 handy, but I think that editing that module and
replacing the line with:

    rslt.append((k, v.__file__))

should take care of things.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list