Hi,<br><br><div class="gmail_quote">On 12 March 2012 14:17, Maurits van Rees <span dir="ltr"><<a href="mailto:m.van.rees@zestsoftware.nl">m.van.rees@zestsoftware.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Op 10-03-12 23:15, Martin Aspeli schreef:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Somewhat inspired by the goals of the ``plone.api`` initiative and based<br>
on the experience of seeing many, many people struggle to get a "safe"<br>
Plone development up and running due to problems with polluted system<br>
Python interpreters, missing libraries and confusing buildouts, I have<br>
created a script called ``plone-devstart.py``.<br>
<br>
The idea is that you can use this to instantiate a new development<br>
environment in a 'safe' way. It will perform some checks on your<br>
environment to determine the likelihood of success. It then installs a<br>
bunch of useful development tools, a basic deployment configuration, and<br>
creates a simple (non-reusable) package where you can put your custom<br>
Python code and templates.<br>
<br>
For now it lives here: <a href="https://github.com/plone/plone-devstart/" target="_blank">https://github.com/plone/<u></u>plone-devstart/</a><br>
<br>
It supports Plone 4.1, though I plan to add 4.2 support shortly.<br>
<br>
You can download the one file you need here:<br>
<a href="https://github.com/plone/plone-devstart/raw/master/plone-devstart.py" target="_blank">https://github.com/plone/<u></u>plone-devstart/raw/master/<u></u>plone-devstart.py</a><br>
<br>
I've tested as much as I can, but if this is to work out for a broader<br>
audience, we need lots of people to test. If you have a particularly<br>
messed up environment, I'd like to hear about it. :)<br>
</blockquote>
<br></div></div>
Thanks for creating this.<br>
<br>
I wanted to push a simple fix (PIL mail fail -> PIL may fail), but I have no write access.  Maybe something needs to be fixed since this started out on your own github account.<br></blockquote><div><br></div><div>Probably.</div>

<div><br></div><div>Rok, help? :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The script complains about a missing jpeglib.h, but when I tell it to continue PIL gets compiled just fine.  Uploading a jpeg works fine too, including creating the extra sizes.  This is on Mac OSX 10.6.8, both with the standard Mac Python and with a Python from buildout.python with a virtualenv in front (and with PIL already installed actually).  So it does not include the directory containing jpeglib.h.  Not sure how that would be solvable in a generic way.  But anyway, PIL is working for me.<span class="HOEnZb"><font color="#888888"><br>


<br></font></span></blockquote><div><br></div><div>Interesting. If PIL can be compiled with JPEG support, then it should be possible to detect that. Maybe we just need to get rid of that check and just try to install PIL and see if it fails?</div>

<div><br></div><div>Martin</div></div>