Just had another talk with the Python lead. He is generating eggs now, and they work fine on Mac and Ubuntu, but are failing on Windows somewhere in the xml spec parsing. According to him the 'egg' is a common enough delivery medium for Python that he's surprised this wasn't caught in an existing unit test. I've created QPID-2676 and attached our updated setup.py that works with and without setuptools and was used to generate the egg which failed on Windows.
On Thu, Jun 17, 2010 at 5:57 AM, Rafael Schloming <[email protected]> wrote: > Kerry Bonin wrote: >> >> Follow up comment from another Python developer here, abbreviated (I'm >> not the best filter here since I'm more of a C++/Java/Cg/Lua >> developer, have only briefly touched Python.) >> >> - setup.py is based on disttools, which predates eggs >> - simple fix would be to change setup.py to use setuptools instead. >> - recommended fix is to change setup.py to use 'distribute' >> - Reference link: >> >> http://www.mcguru.net/download/presentations/michipug-2006-02-02-Intro-to-setuptools.pdf >> >> Another Python developer here just told me he's made the setuptools >> change to setup.py in our local fork, I'll generate a patch and attach >> to a JIRA as soon as he checks his changes in. > > I'm happy to add optional support for setuptools if there is a clean way to > do that. I would like to keep the scripts working with distutils as well > though since that is available by default on any python install without > having to get additional packages. Give me a ping when you post your JIRA > and I'll have a look. > > --Rafael > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
