Re: [Distutils] [Python-Dev] Distutils & configparser rename

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 9:08 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > On Thu, May 15, 2008 at 4:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Thu, May 15, 2008 at 1:33 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: >>> Python 2.6 renames the ConfigParser module to be configparser. >>>

Re: [Distutils] [Python-Dev] Distutils & configparser rename

2008-05-15 Thread Gregory P. Smith
On Thu, May 15, 2008 at 4:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Thu, May 15, 2008 at 1:33 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: >> Python 2.6 renames the ConfigParser module to be configparser. >> >> Distutils imports ConfigParser in various places. I just made a >> commit upd

[Distutils] Failing to upload signed Egg: invalid distribution file (bdist_egg upload)

2008-05-15 Thread Rasmus Andersson
Hi everyone, I'm trying to use the upload command to upload binary eggs, but it seems PyPI has changed their upload form, because upload fails with the message: 400 Error processing form invalid distribution file See attached logs of: 1) bdist.txt -- Running setup.py bdist --sign

Re: [Distutils] [Python-Dev] Distutils & configparser rename

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 1:33 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > Python 2.6 renames the ConfigParser module to be configparser. > > Distutils imports ConfigParser in various places. I just made a > commit updating the import in one places, and then noticed that part > of commit r63248,

Re: [Distutils] [Python-Dev] Distutils & configparser rename

2008-05-15 Thread Nick Coghlan
A.M. Kuchling wrote: Python 2.6 renames the ConfigParser module to be configparser. Distutils imports ConfigParser in various places. I just made a commit updating the import in one places, and then noticed that part of commit r63248, which made the same change, was reverted in order to preserv

Re: [Distutils] how do you express a platform-specific dependency?

2008-05-15 Thread Phillip J. Eby
At 04:15 PM 5/15/2008 -0600, zooko wrote: if sys.platform == 'win32': requirements.append('pywin32') If you do an install which involves fetching and evaluating the setup.py, this will suffice. What I don't understand is what happens if declarative metadata is generated, e.g. a "twisted.egg

Re: [Distutils] how do you express a platform-specific dependency?

2008-05-15 Thread zooko
On May 15, 2008, at 4:01 PM, zooko wrote: Twisted requires pywin32 if it is running on Windows. How can the twisted package metadata [1], which is produced by the twisted setup.py [2], specify this dependency so that if you easy_install Twisted on Windows you'll get pywin32 as well, but if

[Distutils] how do you express a platform-specific dependency?

2008-05-15 Thread zooko
Folks: Twisted requires pywin32 if it is running on Windows. How can the twisted package metadata [1], which is produced by the twisted setup.py [2], specify this dependency so that if you easy_install Twisted on Windows you'll get pywin32 as well, but if you easy_install Twisted on anot

[Distutils] Distutils & configparser rename

2008-05-15 Thread A.M. Kuchling
Python 2.6 renames the ConfigParser module to be configparser. Distutils imports ConfigParser in various places. I just made a commit updating the import in one places, and then noticed that part of commit r63248, which made the same change, was reverted in order to preserve backward-compatibilit

Re: [Distutils] Problem with Setuptools on Ubuntu 8.0.4

2008-05-15 Thread Luis Bruno
Andrew Francis escreveu: I don't see a python-zlib in the Hardy distribution. lithium> python Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import zlib >>> zlib >>> lithiu