[Twisted-Python] Twisted Plugins - Implementation Discussion

anatoly techtonik techtonik at gmail.com
Fri Apr 22 02:41:45 EDT 2011


On Fri, Apr 22, 2011 at 4:01 AM, David <david at silveregg.co.jp> wrote:
> On 04/22/2011 06:21 AM, anatoly techtonik wrote:
>> On Thu, Apr 21, 2011 at 4:48 AM, Kevin Horn<kevin.horn at gmail.com>  wrote:
>>>
>>> cluster****.  So he rewrote distutils with an eye on keeping things nice for
>>> everyone.  Project managers, distro packagers, users installing software,
>>> etc.  This is distutils2.  In Python 3.3 and up it will be called
>>> "packaging".  Once people start using it, it will make a lot of the current
>>> packaging headaches in the Python world go away.
>>
>> Are you sure about that? Where is the list of stories it will solve
>> when people start using it, so I can check that my cases are covered
>> by distutils2 insurance plan?
>
> [OT]
> You can take a look at bento, which is my own response to the distutils
> issues we have in the scipy community (but I would expect twisted and
> most big python libraries to have similar issues):
>
> http://cournape.github.com/Bento/
>
> It is designed from the ground up with the idea of reliable
> customization and complex build supports. It can already build numpy and
> scipy with a near 50 % reduction in LOC compared to our setup.py, and
> more reliably thanks to using a real build tool in the backend (waf, but
> you can add support for a different one if you want).

[OT]
I still can't see how it solves even the basic user story - 'i want to
uninstall twisted' or 'i want two versions of twisted installed'.
Absolute paths in examples won't work on Windows, hardcoded version
field in .info file is inconvenient. It looks like yet another pip,
distribute or easy_install. Don't get me wrong - it looks better - but
for yet another nih packaging solution there should be some convincing
facts or use cases (examples) of why this particular solution is
better. In fact, I'd like to see Wikipedia like comparison for
different 'packaging solutions' somewhere at
http://wiki.python.org/moin/Packaging because I don't use anything
except, well, easy_install, which can't even install protocol buffers.
I guess bento can?
--
anatoly t.



More information about the Twisted-Python mailing list