<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 21, 2011, at 9:01 PM, David wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Menlo; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">You can take a look at bento, which is my own response to the distutils<span class="Apple-converted-space">&nbsp;</span><br>issues we have in the scipy community (but I would expect twisted and<span class="Apple-converted-space">&nbsp;</span><br>most big python libraries to have similar issues):<br><br><a href="http://cournape.github.com/Bento/">http://cournape.github.com/Bento/</a><br><br>It is designed from the ground up with the idea of reliable<span class="Apple-converted-space">&nbsp;</span><br>customization and complex build supports. It can already build numpy and<span class="Apple-converted-space">&nbsp;</span><br>scipy with a near 50 % reduction in LOC compared to our setup.py, and<span class="Apple-converted-space">&nbsp;</span><br>more reliably thanks to using a real build tool in the backend (waf, but<span class="Apple-converted-space">&nbsp;</span><br>you can add support for a different one if you want).<br></span></span></blockquote></div><br><div>This looks <i>very</i> interesting. &nbsp;You kind of bury the lead on that web page though, so let me excerpt it for those who saw the first line, thought "oh, it's yet another python packaging thing" and stopped reading in disgust:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>Even better, bento has a&nbsp;<a href="http://cournape.github.com/Bento/html/transition.html">distutils compatibiliy layer</a>&nbsp;so that&nbsp;you can write a simple setup.py <b>which works under pip or&nbsp;easy_install</b>.<br></div></blockquote><div><br></div><div>(emphasis mine)</div><br><div>This suggests that Twisted could actually <i>switch</i>&nbsp;to Bento without creating a massive disruption for our users who want to install it with an existing automation tool - which, frankly, is the main use-case for distutils at this point.</div><div><br></div><div>Would you recommend that we do this? &nbsp;Would there be a benefit? &nbsp;I like the part where you said "near 50% reduction in LOC" quite a lot but I'm sure there are issues that would come along with it.</div><div><br></div></body></html>