<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jon Stahl&#039;s Journal &#187; python</title>
	<atom:link href="http://jstahl.org/archives/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://jstahl.org</link>
	<description>Politics, the environment, technology, activism. And stuff.</description>
	<lastBuildDate>Sun, 05 Feb 2012 00:30:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ian = Fun</title>
		<link>http://jstahl.org/archives/2009/03/30/ian-fun/</link>
		<comments>http://jstahl.org/archives/2009/03/30/ian-fun/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 05:31:07 +0000</pubDate>
		<dc:creator>Jon Stahl</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Plone]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1717</guid>
		<description><![CDATA[I really enjoyed Ian Bicking&#8217;s PyCon talk, &#8220;Topics of Interest.&#8221; Light on substance perhaps, but possibly the best use of a twitter an IRC backchannel ever.   Ian is indeed one of those people who is interested in interesting things.]]></description>
			<content:encoded><![CDATA[<p>I really enjoyed <a href="http://blip.tv/file/1932161">Ian Bicking&#8217;s PyCon talk, &#8220;Topics of Interest.&#8221;</a> Light on substance perhaps, but possibly the best use of <span style="text-decoration: line-through;">a twitter</span> an IRC backchannel ever.   Ian is indeed one of those people who is interested in interesting things.</p>
]]></content:encoded>
			<wfw:commentRss>http://jstahl.org/archives/2009/03/30/ian-fun/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Running Plone trunk under Python 2.6 on Mac OS X</title>
		<link>http://jstahl.org/archives/2008/12/12/running-plone-trunk-under-python-26-on-mac-os-x/</link>
		<comments>http://jstahl.org/archives/2008/12/12/running-plone-trunk-under-python-26-on-mac-os-x/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 05:48:03 +0000</pubDate>
		<dc:creator>Jon Stahl</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Plone]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1634</guid>
		<description><![CDATA[Note: this is absolutely, positively not recommended for production. I had heard that it was possible to install and run Plone trunk under Python 2.6, and that it would use substantially less memory (mostly thanks to Python 2.6 improvements).  It &#8230; <a href="http://jstahl.org/archives/2008/12/12/running-plone-trunk-under-python-26-on-mac-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Note: this is absolutely, positively not recommended for production.</p>

<p>I had heard that it was possible to install and run Plone trunk under Python 2.6, and that it would use substantially less memory (mostly thanks to Python 2.6 improvements).  It took a bunch of fiddling and some help from David Glick, but here&#8217;s how I did it on my Mac OS X 10.5 laptop:</p>

<pre>Install <a href="http://www.macports.org">macports</a></pre>

<pre>Make sure /opt/local/bin is in your path.</pre>

<pre>echo 'export PATH=/opt/local/bin:$PATH' &gt;&gt; ~/.bash_profile</pre>

<pre>Restart terminal</pre>

<pre>(NB you may have to sudo port commands)</pre>

<pre>$ port install python26</pre>

<pre>$ port install py26-pil</pre>

<pre>if it fails, try again, second shot worked for me.  ah, ports. <img src='http://jstahl.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </pre>

<pre>NB that you must either have an empty /usr/local or temporarily rename it to /usr/local-off while installing the port.   don't forget to name it back when you're done.  (see <a href="https://trac.macports.org/ticket/15077">https://trac.macports.org/ticket/15077</a>)</pre>

<pre>svn co https://svn.plone.org/svn/plone/buildouts/plone-coredev/trunk plone-trunk</pre>

<pre>cd plone-trunk</pre>

<pre>python2.6 bootstrap.py</pre>

<pre>python2.6 bin/buildout</pre>

<pre>bin/addzope2user user password</pre>

<pre>(to add an admin user)</pre>

<pre>bin/instance</pre>

<pre>Visit http://localhost:8080/manage_main and away you go!</pre>

<p>To my delight, I found that it uses 62MB of RAM on startup; Plone 3.1.7/Python 2.4 uses 97MB on this machine.  That&#8217;s a pretty nice reduction.  I really hope we are able to deploy Plone 3.x under Python 2.6 soon, too!</p>
]]></content:encoded>
			<wfw:commentRss>http://jstahl.org/archives/2008/12/12/running-plone-trunk-under-python-26-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

