<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Don&#8217;t put all your Python eggs in one basket</title>
	<atom:link href="http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/feed/" rel="self" type="application/rss+xml" />
	<link>http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/</link>
	<description>The cake is a lie</description>
	<lastBuildDate>Fri, 03 Sep 2010 01:46:58 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ZK@Web Marketing Blog</title>
		<link>http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/comment-page-1/#comment-34838</link>
		<dc:creator>ZK@Web Marketing Blog</dc:creator>
		<pubDate>Sun, 24 May 2009 18:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://shazow.net/blog/?p=129#comment-34838</guid>
		<description>I can build a python instance that is independent of the stuff build into my main python (which is a virtual-python for historical reasons). It&#039;s better than virtual-python because I get the benefits of things in my system site-packages that I&#039;ve installed since I installed my virtual python.</description>
		<content:encoded><![CDATA[<p>I can build a python instance that is independent of the stuff build into my main python (which is a virtual-python for historical reasons). It&#8217;s better than virtual-python because I get the benefits of things in my system site-packages that I&#8217;ve installed since I installed my virtual python.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shazow</title>
		<link>http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/comment-page-1/#comment-18567</link>
		<dc:creator>shazow</dc:creator>
		<pubDate>Tue, 09 Sep 2008 19:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://shazow.net/blog/?p=129#comment-18567</guid>
		<description>@Chris you&#039;re right! --no-site-packages is a great idea, I just use this setup on my own single-user machines so it&#039;s not as much of a factor. It&#039;s definitely recommended for multi-version situations and production environments. I&#039;ll edit the post accordingly.

Thanks!</description>
		<content:encoded><![CDATA[<p>@Chris you&#8217;re right! &#8211;no-site-packages is a great idea, I just use this setup on my own single-user machines so it&#8217;s not as much of a factor. It&#8217;s definitely recommended for multi-version situations and production environments. I&#8217;ll edit the post accordingly.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Perkins</title>
		<link>http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/comment-page-1/#comment-18566</link>
		<dc:creator>Chris Perkins</dc:creator>
		<pubDate>Tue, 09 Sep 2008 19:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://shazow.net/blog/?p=129#comment-18566</guid>
		<description>I am surprised you do not use --no-site-packages.  I find this indispensable.  I have done a short v-cast on how to create a virtualenv and use it effectively:

http://showmedo.com/videos/video?name=2910000&amp;fromSeriesID=291</description>
		<content:encoded><![CDATA[<p>I am surprised you do not use &#8211;no-site-packages.  I find this indispensable.  I have done a short v-cast on how to create a virtualenv and use it effectively:</p>
<p><a href="http://showmedo.com/videos/video?name=2910000&amp;fromSeriesID=291" rel="nofollow">http://showmedo.com/videos/video?name=2910000&amp;fromSeriesID=291</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shazow</title>
		<link>http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/comment-page-1/#comment-18451</link>
		<dc:creator>shazow</dc:creator>
		<pubDate>Tue, 02 Sep 2008 16:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://shazow.net/blog/?p=129#comment-18451</guid>
		<description>@Phillip Ah, thanks for the tip! Unfortunately, easy_install -m doesn&#039;t seem to cover the entire scenario. It does remove the entry from easy-install.pth, and it does print out what scripts it put into your bin directory, but it doesn&#039;t remove the egg from your site-packages, nor does it prevent overwriting of other binaries with the same name. 

As for using the multi-version mode, it doesn&#039;t really help you as much if the code in question does not use pkg_resources, but it is a step in the right direction.

Overall, it&#039;s still better to have a separate user-local Python site-packages, but I will keep -m in mind.</description>
		<content:encoded><![CDATA[<p>@Phillip Ah, thanks for the tip! Unfortunately, easy_install -m doesn&#8217;t seem to cover the entire scenario. It does remove the entry from easy-install.pth, and it does print out what scripts it put into your bin directory, but it doesn&#8217;t remove the egg from your site-packages, nor does it prevent overwriting of other binaries with the same name. </p>
<p>As for using the multi-version mode, it doesn&#8217;t really help you as much if the code in question does not use pkg_resources, but it is a step in the right direction.</p>
<p>Overall, it&#8217;s still better to have a separate user-local Python site-packages, but I will keep -m in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip J. Eby</title>
		<link>http://shazow.net/blog/2008/09/02/dont-put-all-your-python-eggs-in-one-basket/comment-page-1/#comment-18442</link>
		<dc:creator>Phillip J. Eby</dc:creator>
		<pubDate>Tue, 02 Sep 2008 13:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://shazow.net/blog/?p=129#comment-18442</guid>
		<description>Actually, you use &quot;easy_install -m packagename&quot; to remove it from easy-install.pth...  and that will also dump out for you what scripts need to be removed.

Second, if you need multiple versions of an egg installed, that&#039;s what &quot;easy_install -m&quot; is for.  You only need to re-run easy_install to change the *default* version - the one that comes up when the Python interpreter is started, not what comes up when you run a given project&#039;s scripts.

Not that virtualenvs aren&#039;t great, but those two things don&#039;t require them.</description>
		<content:encoded><![CDATA[<p>Actually, you use &#8220;easy_install -m packagename&#8221; to remove it from easy-install.pth&#8230;  and that will also dump out for you what scripts need to be removed.</p>
<p>Second, if you need multiple versions of an egg installed, that&#8217;s what &#8220;easy_install -m&#8221; is for.  You only need to re-run easy_install to change the *default* version &#8211; the one that comes up when the Python interpreter is started, not what comes up when you run a given project&#8217;s scripts.</p>
<p>Not that virtualenvs aren&#8217;t great, but those two things don&#8217;t require them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.475 seconds -->
