<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 13, 2012, at 10:00 AM, Alex Clark wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 3/10/12 5:15 PM, Martin Aspeli wrote:<br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Somewhat inspired by the goals of the ``plone.api`` initiative and based<br></blockquote><blockquote type="cite">on the experience of seeing many, many people struggle to get a "safe"<br></blockquote><blockquote type="cite">Plone development up and running due to problems with polluted system<br></blockquote><blockquote type="cite">Python interpreters, missing libraries and confusing buildouts, I have<br></blockquote><blockquote type="cite">created a script called ``plone-devstart.py``.<br></blockquote><br><br>+0<br><br>In the interest of stop energy (kidding)… but seriously: can we not go <br>in this direction, if at all possible? Or at least think out loud a bit <br>more before first.<br><br>My thoughts:<br><br>We've spent years getting Plone situated in a "nice" place within the <br>Python community. To address the concerns of the ``plone.api`` folks and <br>anyone that has trouble installing or developing add-ons for Plone, I <br>would strongly recommend that we adhere very closely to "Python best <br>practices"[1].<br><br>Now, I completely understand Martin's motivation here and may personally <br>be interested in trying plone-devstart.py to see what he has come up <br>with. But I don't think, at least my gut reaction tells me, that a <br>project-specific script is not what we need or want more of here[2].<br><br>Think about it this way: the Plone project has very ambitious goals with <br>regard to CMS functionality, and a limited set of developers to <br>accomplish those goals. We don't want those resources spent on Python <br>module installation problems, if we can help it. Better to offload that <br>problem to the worldwide community of Python folks IMHO for "free" support.<br><br><br>Alex<br><br><br>[1] Support: "pip install -r 4.2.x.txt Plone" ASAP. Failures with this <br>process become "general Python failures" not "Plone specific failures". <br>Don't have PIL? "pip install Pillow" and so on. Let requirements.txt <br>equal versions.cfg in effect, and let's figure out how to build out a <br>bunch of zcml slugs without buildout. (Actually, with Pillow, it's <br>probably now "safe" to depend on it in the way we depend on Zope2. <br>Installation problems have been practically eliminated for all major <br>OSes. The only "gotcha" is C extensions, but Zope2 has those too. Oh and <br>PIL's deps, but the Unified Installer includes those for its purposes <br>and anyone that can type "pip install Plone" can probably type <br>"{aptitude,brew,etc} install libjpeg-dev" and so on.)<br><br>[2] One exception may be if "pip install plone-devstart" were supported.<br><font class="Apple-style-span" color="#00721e"><br></font></div></blockquote></div><br><div>I'm all in favor of moving toward supporting a more "standard Python" installation approach, but I think something along the lines of Martin's plone-devstart script would be useful even then. I'd rather run a script which checks to make sure everything is installed and installs the missing things than have to remember all the steps myself. If we can build those checks into Plone's setup.py though, so much the better -- so I'd much rather consider Martin's script as very useful research toward that end rather than as a "wrong direction."</div><div><br></div><div>David</div>
<P> </P>
<TABLE style="WIDTH: 600px; BORDER-TOP: #dadbdc 1px solid" border=0 
cellSpacing=10 cellPadding=10 width=600>
  <TBODY>
  <TR>
    <TD vAlign=top width=250>
      <DIV>
      <P><B><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 11pt">David Glick</SPAN></B><BR><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 9pt"><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 9pt">Web Developer</SPAN><BR></SPAN><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 9pt">davidglick@groundwire.org<SPAN><BR><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 9pt"><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 9pt">206.286.1235x32 
      </SPAN></SPAN></SPAN></SPAN><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 9pt"><SPAN></P></DIV></SPAN></SPAN></TD>
    <TD 
    style="PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; WIDTH: 318px; PADDING-RIGHT: 0in; PADDING-TOP: 0in" 
    vAlign=top width=318>
      <DIV>
      <P><IMG alt="" 
      src="http://gw-logo.s3.amazonaws.com/gw-email-signature.png" width=270 
      height=69></P></DIV></TD></TR>
  <TR>
    <TD style="BORDER-TOP: #dadbdc 1px solid" colSpan=2>
      <P><SPAN 
      style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR: #54637a; FONT-SIZE: 10pt"><SPAN 
      style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #54637a; FONT-SIZE: 10pt"><A 
      title="" href="http://www.npoengagementparty.com">The NPO Engagement Party 
      2012.</A> So much more fun than the wedding 
      reception.</SPAN></SPAN></P></TD></TR></TBODY></TABLE>
<P></P><br></body></html>