<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://www.stress-free.co.nz"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>stressfree - appengine</title>
 <link>https://www.stress-free.co.nz/tech/appengine</link>
 <description></description>
 <language>en</language>
<item>
 <title>OSX Leopard, App Engine and Python&#039;s PIL libraries</title>
 <link>https://www.stress-free.co.nz/osx_leopard_app_engine_and_python039s_pil_libraries</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;Running Google App Engine on OSX Leopard is fairly straight-forward except for the fact Leopard does not ship with the Python PIL imaging libraries. One way of resolving this problem is to use MacPorts to compile your own Python 2.5 libraries. Install MacPorts and then from the Terminal run:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;sudo /opt/local/bin/port install py25-pil&lt;br /&gt;sudo /opt/local/bin/port install py25-socket-ssl&lt;br /&gt;sudo /opt/local/bin/port install py25-hashlib&lt;/p&gt;&lt;p&gt;Finally edit the /etc/profile file...&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;sudo nano /etc/profile&lt;/p&gt;&lt;p&gt;...and add the following entry at the bottom:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;export PYTHONPATH=/opt/local/lib/python2.5/site-packages&lt;/p&gt;&lt;p&gt;If you want the App Engine launcher to recognise this new version of Python open the application&#039;s preferences and set the path to the python2.5 executable (see screenshot).&lt;/p&gt;&lt;p style=&quot;text-align: center&quot;&gt;&lt;img src=&quot;/sites/default/files/u63/py_appengine.jpg&quot; title=&quot;undefined&quot; width=&quot;450&quot; height=&quot;320&quot; onmouseover=&quot;undefined&quot; onmouseout=&quot;undefined&quot; /&gt; &lt;/p&gt;&lt;!--break--&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/python&quot;&gt;python&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/appengine&quot;&gt;appengine&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Tue, 05 Aug 2008 09:42:14 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">513 at https://www.stress-free.co.nz</guid>
</item>
</channel>
</rss>
