<?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: Tornado with VirtualEnv and Pip Quickstart</title>
	<atom:link href="http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/feed/" rel="self" type="application/rss+xml" />
	<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/</link>
	<description>musings on internationalized identifiers: domain names, OpenID, TLDs</description>
	<lastBuildDate>Sat, 08 Jun 2013 08:17:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Matthew</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-31242</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Sun, 20 Nov 2011 12:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-31242</guid>
		<description>When are you in South Wales re: Llanelli area? Would love to come and see you perform. Thanks. 
 
Matthew </description>
		<content:encoded><![CDATA[<p>When are you in South Wales re: Llanelli area? Would love to come and see you perform. Thanks. </p>
<p>Matthew </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wil</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-29935</link>
		<dc:creator>wil</dc:creator>
		<pubDate>Sat, 10 Jul 2010 03:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-29935</guid>
		<description>Hey David, 
 
I haven&#039;t used epoll because using the mac for dev, and freebsd for prod. 
 
However, pip *should* do the normal setup.py stuff even when installing from git. Maybe you&#039;re using Python 2.6 and from what I can see tornado&#039;s setup.py refuses to build epoll.c unless you&#039;re on Linux and *not* using 2.6.  
 
I&#039;ve also found the &lt;code&gt;--install-option&lt;/code&gt; argument to pip install command to be invaluable when you need to pass additional args to setup.py. 
 
 </description>
		<content:encoded><![CDATA[<p>Hey David, </p>
<p>I haven&#039;t used epoll because using the mac for dev, and freebsd for prod. </p>
<p>However, pip *should* do the normal setup.py stuff even when installing from git. Maybe you&#039;re using Python 2.6 and from what I can see tornado&#039;s setup.py refuses to build epoll.c unless you&#039;re on Linux and *not* using 2.6.  </p>
<p>I&#039;ve also found the &lt;code&gt;&#8211;install-option&lt;/code&gt; argument to pip install command to be invaluable when you need to pass additional args to setup.py. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @dpn</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-29934</link>
		<dc:creator>@dpn</dc:creator>
		<pubDate>Fri, 09 Jul 2010 23:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-29934</guid>
		<description>Hey wil, thanks for the post. 
 
have you figured out how to get the epoll.c module to build using pip? 
 
when you add a requirement from git it seems to just add the source code to the virtualenv and not compile the module. this of course is not acceptable for a production deployment! 
 
Any advice you may have would be very helpful! </description>
		<content:encoded><![CDATA[<p>Hey wil, thanks for the post. </p>
<p>have you figured out how to get the epoll.c module to build using pip? </p>
<p>when you add a requirement from git it seems to just add the source code to the virtualenv and not compile the module. this of course is not acceptable for a production deployment! </p>
<p>Any advice you may have would be very helpful! </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wil</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-29898</link>
		<dc:creator>wil</dc:creator>
		<pubDate>Mon, 17 May 2010 12:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-29898</guid>
		<description>The cleanest way is to recreate the virtual environment in other machines. To do that, you would want to produce a requirements file with pip, which details the exact version of all the packages you have installed in that virtual env. 
 
$ pip freeze &gt; requirements.txt 
 
On the new machine, after you have created the empty virtualenv, and installed pip, you would just do: 
 
$ pip install -r requirements.txt 
 
There are other ways of doing it (like making your virtual env relocatable, etc.) but if you depend on modules that link to C libraries, and the machines are different, it won&#039;t work. There are also other things are likely to break. </description>
		<content:encoded><![CDATA[<p>The cleanest way is to recreate the virtual environment in other machines. To do that, you would want to produce a requirements file with pip, which details the exact version of all the packages you have installed in that virtual env. </p>
<p>$ pip freeze &gt; requirements.txt </p>
<p>On the new machine, after you have created the empty virtualenv, and installed pip, you would just do: </p>
<p>$ pip install -r requirements.txt </p>
<p>There are other ways of doing it (like making your virtual env relocatable, etc.) but if you depend on modules that link to C libraries, and the machines are different, it won&#039;t work. There are also other things are likely to break. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: snakejuice</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-29897</link>
		<dc:creator>snakejuice</dc:creator>
		<pubDate>Mon, 17 May 2010 11:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-29897</guid>
		<description>What&#039;s the best way (or any way) to package the resulting virtual environment and deploy it to another machine (staging, production, etc.) ? </description>
		<content:encoded><![CDATA[<p>What&#039;s the best way (or any way) to package the resulting virtual environment and deploy it to another machine (staging, production, etc.) ? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wil</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-29294</link>
		<dc:creator>wil</dc:creator>
		<pubDate>Thu, 24 Dec 2009 08:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-29294</guid>
		<description>I didn&#039;t know that, thanks for the tip! Text has been fixed.  </description>
		<content:encoded><![CDATA[<p>I didn&#039;t know that, thanks for the tip! Text has been fixed.  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://dready.org/blog/2009/10/09/tornado-with-virtualenv-and-pip-quickstart/comment-page-1/#comment-29293</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 24 Dec 2009 08:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://dready.org/blog/?p=243#comment-29293</guid>
		<description>Thanks for posting this!  I just have one correction: it should be #egg=tornado, not #egg=Tornado.  (The capitalization matters.) </description>
		<content:encoded><![CDATA[<p>Thanks for posting this!  I just have one correction: it should be #egg=tornado, not #egg=Tornado.  (The capitalization matters.) </p>
]]></content:encoded>
	</item>
</channel>
</rss>
