<?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: Workingenv is dead, long live Virtualenv!</title>
	<atom:link href="http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 10:58:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gilles Lenfant</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-69225</link>
		<dc:creator>Gilles Lenfant</dc:creator>
		<pubDate>Wed, 07 Jan 2009 17:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-69225</guid>
		<description>Me really stupit. Should have RTFM. Sorry and thanks again.</description>
		<content:encoded><![CDATA[<p>Me really stupit. Should have RTFM. Sorry and thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Bicking</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-69219</link>
		<dc:creator>Ian Bicking</dc:creator>
		<pubDate>Wed, 07 Jan 2009 16:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-69219</guid>
		<description>You can also do `virtualenv -p python2.5 ENV`</description>
		<content:encoded><![CDATA[<p>You can also do <code>virtualenv -p python2.5 ENV</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilles Lenfant</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-69214</link>
		<dc:creator>Gilles Lenfant</dc:creator>
		<pubDate>Wed, 07 Jan 2009 16:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-69214</guid>
		<description>Hi,

Virualenv is great, and many thanks for this essential tool.

I have a Mac 0S 10.5 + XCode, Python 2.5 that ships with the MacOS bundle and Python 2.4 for Zope/plone works.
When installing a virtualenv for Python 2.5 I need to :

    $ sudo easy_install-2.5 virtualenv
    $ cd somewhere
    $ virtualenv my_ve_2_5

So far, so good, but if I need after this a virtualenv for Python 2.4, I need to re-install virtualenv for Python 2.4.

So this would be cool if installing virtualenv creates the &quot;virtualenv&quot; and &quot;virtualenv-2.x&quot; scripts (just as done for easy_install), unless there&#039;s a feature I didn&#039;t get ;)</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>Virualenv is great, and many thanks for this essential tool.</p>

<p>I have a Mac 0S 10.5 + XCode, Python 2.5 that ships with the MacOS bundle and Python 2.4 for Zope/plone works.
When installing a virtualenv for Python 2.5 I need to :</p>

<pre><code>$ sudo easy_install-2.5 virtualenv
$ cd somewhere
$ virtualenv my_ve_2_5
</code></pre>

<p>So far, so good, but if I need after this a virtualenv for Python 2.4, I need to re-install virtualenv for Python 2.4.</p>

<p>So this would be cool if installing virtualenv creates the &#8220;virtualenv&#8221; and &#8220;virtualenv-2.x&#8221; scripts (just as done for easy_install), unless there&#8217;s a feature I didn&#8217;t get ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan Segolsson</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-61280</link>
		<dc:creator>Johan Segolsson</dc:creator>
		<pubDate>Sun, 30 Nov 2008 13:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-61280</guid>
		<description>Should virtualenv override the PYTHONPATH environment variable as well in the activate script?</description>
		<content:encoded><![CDATA[<p>Should virtualenv override the PYTHONPATH environment variable as well in the activate script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean DiZazzo</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-48877</link>
		<dc:creator>Sean DiZazzo</dc:creator>
		<pubDate>Thu, 25 Sep 2008 06:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-48877</guid>
		<description>Please remove the &#039;not&#039; on line 400 of virtualenv.py  Maybe I&#039;m too tired, but it sure seems assbackwards.</description>
		<content:encoded><![CDATA[<p>Please remove the &#8216;not&#8217; on line 400 of virtualenv.py  Maybe I&#8217;m too tired, but it sure seems assbackwards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiorky</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-18404</link>
		<dc:creator>kiorky</dc:creator>
		<pubDate>Sat, 14 Jun 2008 18:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-18404</guid>
		<description>I encountered problems while testing virtualenv under cygwin for an application port to windows.
Here, you ll find a patch to make it working (it seems to).
http://distfiles.minitage.org/public/externals/minitage/patches/virtualenv.win.diff

To be honnest, i&#039;m not a windows user and do no want to.</description>
		<content:encoded><![CDATA[<p>I encountered problems while testing virtualenv under cygwin for an application port to windows.
Here, you ll find a patch to make it working (it seems to).
<a href="http://distfiles.minitage.org/public/externals/minitage/patches/virtualenv.win.diff" rel="nofollow">http://distfiles.minitage.org/public/externals/minitage/patches/virtualenv.win.diff</a></p>

<p>To be honnest, i&#8217;m not a windows user and do no want to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee McFadden</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-5386</link>
		<dc:creator>Lee McFadden</dc:creator>
		<pubDate>Tue, 04 Dec 2007 13:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-5386</guid>
		<description>I&#039;m still having problems with certain packages on OS X 10.5, particularly Paste, but there may be others out there.  I am trying to get TG2 into it&#039;s own virtualenv so I don&#039;t nuke my current development projects.  Included is the result of easy_installing Paste (with the output from the end of an SQLAlchemy install to show what the paths *should* be):

    Adding SQLAlchemy 0.4.1 to easy-install.pth file

    Installed /Users/splee/envs/tg2/lib/python2.5/site-packages/SQLAlchemy-0.4.1-py2.5.egg
    Finished processing dependencies for TurboGears2==2.0a1dev-r3757
    
    (tg2)TheBeastie:src splee$ easy_install -U paste
    Searching for paste
    Reading http://pypi.python.org/simple/paste/
    Couldn&#039;t retrieve index page for &#039;paste&#039;
    Scanning index of all packages (this may take a while)
    Reading http://pypi.python.org/simple/
    Reading http://pypi.python.org/simple/Paste/
    Reading http://pythonpaste.org
    Best match: Paste 1.5.1
    Processing Paste-1.5.1-py2.5.egg
    Adding Paste 1.5.1 to easy-install.pth file
    
    Using /Library/Python/2.5/site-packages/Paste-1.5.1-py2.5.egg
    Processing dependencies for paste
    Finished processing dependencies for paste
    (tg2)TheBeastie:src splee$ 

It seems that Paste is still being used from the global site-packages dir, even if I create the environment with the `--no-site-packages` option.</description>
		<content:encoded><![CDATA[<p>I&#8217;m still having problems with certain packages on OS X 10.5, particularly Paste, but there may be others out there.  I am trying to get TG2 into it&#8217;s own virtualenv so I don&#8217;t nuke my current development projects.  Included is the result of easy_installing Paste (with the output from the end of an SQLAlchemy install to show what the paths <em>should</em> be):</p>

<pre><code>Adding SQLAlchemy 0.4.1 to easy-install.pth file

Installed /Users/splee/envs/tg2/lib/python2.5/site-packages/SQLAlchemy-0.4.1-py2.5.egg
Finished processing dependencies for TurboGears2==2.0a1dev-r3757

(tg2)TheBeastie:src splee$ easy_install -U paste
Searching for paste
Reading &lt;a href="http://pypi.python.org/simple/paste/" rel="nofollow"&gt;http://pypi.python.org/simple/paste/&lt;/a&gt;
Couldn't retrieve index page for 'paste'
Scanning index of all packages (this may take a while)
Reading &lt;a href="http://pypi.python.org/simple/" rel="nofollow"&gt;http://pypi.python.org/simple/&lt;/a&gt;
Reading &lt;a href="http://pypi.python.org/simple/Paste/" rel="nofollow"&gt;http://pypi.python.org/simple/Paste/&lt;/a&gt;
Reading &lt;a href="http://pythonpaste.org" rel="nofollow"&gt;http://pythonpaste.org&lt;/a&gt;
Best match: Paste 1.5.1
Processing Paste-1.5.1-py2.5.egg
Adding Paste 1.5.1 to easy-install.pth file

Using /Library/Python/2.5/site-packages/Paste-1.5.1-py2.5.egg
Processing dependencies for paste
Finished processing dependencies for paste
(tg2)TheBeastie:src splee$ 
</code></pre>

<p>It seems that Paste is still being used from the global site-packages dir, even if I create the environment with the <code>--no-site-packages</code> option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon King</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-4835</link>
		<dc:creator>Simon King</dc:creator>
		<pubDate>Wed, 28 Nov 2007 09:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-4835</guid>
		<description>I think the Windows deactivate.bat script still has a couple of bugs. It contains this snippet:

    if defined _OLD_VIRTUAL_WORKING_PATH (
        set PATH=%_OLD_VIRUTAL_PATH%
    )
    set _OLD_VIRTUAL_PATH=

That&#039;s three different spellings of `_OLD_VIRTUAL_PATH`:

    _OLD_VIRTUAL_WORKING_PATH
    _OLD_VIRUTAL_PATH
    _OLD_VIRTUAL_PATH

If I replace them all with `_OLD_VIRTUAL_PATH`, everything seems to work properly.</description>
		<content:encoded><![CDATA[<p>I think the Windows deactivate.bat script still has a couple of bugs. It contains this snippet:</p>

<pre><code>if defined _OLD_VIRTUAL_WORKING_PATH (
    set PATH=%_OLD_VIRUTAL_PATH%
)
set _OLD_VIRTUAL_PATH=
</code></pre>

<p>That&#8217;s three different spellings of <code>_OLD_VIRTUAL_PATH</code>:</p>

<pre><code>_OLD_VIRTUAL_WORKING_PATH
_OLD_VIRUTAL_PATH
_OLD_VIRTUAL_PATH
</code></pre>

<p>If I replace them all with <code>_OLD_VIRTUAL_PATH</code>, everything seems to work properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Dumpleton</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-4081</link>
		<dc:creator>Graham Dumpleton</dc:creator>
		<pubDate>Thu, 22 Nov 2007 23:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-4081</guid>
		<description>The other issue with Python 2.3 which had forgotten and only remembered when I tried to run in on a different MacOS X system, is that Python 2.3 doesn&#039;t have the &#039;subprocess&#039; module. Thus it is necessary to copy this from a new version of Python and install it by hand before running virtualenv.</description>
		<content:encoded><![CDATA[<p>The other issue with Python 2.3 which had forgotten and only remembered when I tried to run in on a different MacOS X system, is that Python 2.3 doesn&#8217;t have the &#8217;subprocess&#8217; module. Thus it is necessary to copy this from a new version of Python and install it by hand before running virtualenv.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Engel</title>
		<link>http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/comment-page-1/#comment-3826</link>
		<dc:creator>Jens Engel</dc:creator>
		<pubDate>Tue, 20 Nov 2007 12:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/#comment-3826</guid>
		<description>I have a problem creating a virtual environment with virtualenv-0.9.2 on Cygwin.
The problem occurs when the Python interpreter/executable should be copied.

    ...
     File &quot;virtualenv.py&quot;, line 468, in create_environment
        shutil.copyfile(sys.executable, py_executable)
    ...
    IOError: [Errno 2] No such file or directory: &#039;/bin/python&#039;

The problem seems to be that Cygwin mostly hides the &quot;.exe&quot; file extension
(or it is not considered for ``sys.executable`` in the Python port).
But the file extension is needed for ``shutil.copyfile()`` to work.

QUICKFIX:

    # -- INSERT-BEFORE: shutil.copyfile(sys.executable, py_executable), line 468
    if sys.platform == &quot;cygwin&quot; and not sys.executable.endswith(&quot;.exe&quot;):
        sys.executable += &quot;.exe&quot;</description>
		<content:encoded><![CDATA[<p>I have a problem creating a virtual environment with virtualenv-0.9.2 on Cygwin.
The problem occurs when the Python interpreter/executable should be copied.</p>

<pre><code>...
 File "virtualenv.py", line 468, in create_environment
    shutil.copyfile(sys.executable, py_executable)
...
IOError: [Errno 2] No such file or directory: '/bin/python'
</code></pre>

<p>The problem seems to be that Cygwin mostly hides the &#8220;.exe&#8221; file extension
(or it is not considered for <code>sys.executable</code> in the Python port).
But the file extension is needed for <code>shutil.copyfile()</code> to work.</p>

<p>QUICKFIX:</p>

<pre><code># -- INSERT-BEFORE: shutil.copyfile(sys.executable, py_executable), line 468
if sys.platform == "cygwin" and not sys.executable.endswith(".exe"):
    sys.executable += ".exe"
</code></pre>
]]></content:encoded>
	</item>
</channel>
</rss>

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