<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>HCoder.org comments</title>
    <link>http://www.hcoder.org</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>"Frustrated by Python module management" by Esteban</title>
      <description>&lt;p&gt;Hey, thanks for the comments!&lt;/p&gt;


	&lt;p&gt;Michael: No, that machine is only used for automated test runs. Several different projects though. BTW, I didn&amp;#8217;t install SQLAlchemy in development mode, just with a regular easy_install&amp;#8230; but for some reason Python sometimes &amp;#8220;forgets&amp;#8221; that it&amp;#8217;s actually there (it gets lost from easy_install.pth somehow, but I have no idea why). When you say &amp;#8220;installing normally&amp;#8221;, do you mean in the system, like in /usr/lib/python/site-packages ? I&amp;#8217;d rather not do that if possible, but installing in some &amp;#8220;private directory&amp;#8221; and using from there would be possible of course.&lt;/p&gt;


	&lt;p&gt;Sverre: PYTHONPATH didn&amp;#8217;t work for me, maybe I did something wrong? Am I supposed to install things first so it works, or should I be able to just point PYTHONPATH to the directory with a fresh VCS checkout?&lt;/p&gt;


	&lt;p&gt;And thanks for the virtualenv thing, I&amp;#8217;ll have a look!&lt;/p&gt;


	&lt;p&gt;Oh, and sorry for the comments not appearing, I was receiving tons of spam so I decided to make the comments invisible until I approved them&amp;#8230; I didn&amp;#8217;t really expect showing up on reddit :-P&lt;/p&gt;</description>
      <pubDate>Mon, 30 Jun 2008 13:28:48 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:41b48b78-45f8-4592-93a9-33db0758f20e</guid>
      <link>http://www.hcoder.org/articles/2008/06/24/frustrated-by-python-module-management#comment-1374</link>
    </item>
    <item>
      <title>"Frustrated by Python module management" by Sverre Johansen</title>
      <description>&lt;p&gt;I can has documentation?&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://docs.python.org/dev/install/index.html#inst-search-path" rel="nofollow"&gt;http://docs.python.org/dev/install/index.html#inst-search-path&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Jun 2008 10:08:32 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:f13cec17-6ce2-4938-89d2-74e5d305f6b1</guid>
      <link>http://www.hcoder.org/articles/2008/06/24/frustrated-by-python-module-management#comment-1373</link>
    </item>
    <item>
      <title>"Frustrated by Python module management" by Sverre Johansen</title>
      <description>&lt;p&gt;What is it that is so hard to understand?&lt;/p&gt;


	&lt;p&gt;If you want to you can just set the PYTHONPATH manually, the setup.py develop is just a convenience for you. I fail to see how Python package lookup is different from any other platform you are familiar with. It might work much better on Plan9 or some shit like that, but &amp;#8230; ... :-)&lt;/p&gt;


	&lt;p&gt;Using setuptool and setup.py develop it will install the package in your python packages folder, which on Debian is by default the system folder, which will be shared by all users.&lt;/p&gt;


	&lt;p&gt;Probably the easiest for you (And Jonathan told me he already recommended it to you) is to use virtualenv &amp;#8211; &lt;a href="http://pypi.python.org/pypi/virtualenv" rel="nofollow"&gt;http://pypi.python.org/pypi/virtualenv&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Also this discussion probably belong in an internal mailing list of some sort :)&lt;/p&gt;</description>
      <pubDate>Mon, 30 Jun 2008 10:01:21 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:13f3c5e9-0199-4228-896f-2dad135617e2</guid>
      <link>http://www.hcoder.org/articles/2008/06/24/frustrated-by-python-module-management#comment-1372</link>
    </item>
    <item>
      <title>"Frustrated by Python module management" by Eric</title>
      <description>&lt;p&gt;You should check out &lt;a href="http://pypi.python.org/pypi/virtualenv" rel="nofollow"&gt;virtualenv&lt;/a&gt;. It lets you create a somewhat sandboxed python install for different projects. The biggest benefit is being able to have a separate place to install modules. I&amp;#8217;ve done this in order to differentiate between projects I am working on and applications that run on my machine. This way I can verify what the dependencies really are as well as have an easy way to install two libraries at the same time. Good luck!&lt;/p&gt;</description>
      <pubDate>Mon, 30 Jun 2008 08:02:50 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:ae1317d3-bf74-473a-b16f-a310b9b9b589</guid>
      <link>http://www.hcoder.org/articles/2008/06/24/frustrated-by-python-module-management#comment-1371</link>
    </item>
    <item>
      <title>"Frustrated by Python module management" by alonlevy1@gmail.com</title>
      <description>&lt;p&gt;why not use python setup.py install? It installs to the /usr/lib/python/site-packages directory on python.&lt;/p&gt;


	&lt;p&gt;also, you should make sure you are using the same version of python for both the &amp;#8220;python setup.py install&amp;#8221; and running. If you have two versions, i.e. python2.4 and python2.5, you could by accident end up with a module installed for 2.4, but actually needed in 2.5.&lt;/p&gt;


	&lt;p&gt;as a debugging measure, start a python shell and do:
import sys
print sys.path&lt;/p&gt;


	&lt;p&gt;you&amp;#8217;ll get the list of directories searched for your install. make sure to use the right python version like mentioned before.&lt;/p&gt;


	&lt;p&gt;PYTHONPATH should also work well (has for me). Have you exported it? i.e.
export PYTHONPATH=/home/me/pythonlibs
python myprog.py&lt;/p&gt;


	&lt;p&gt;or just prepend to the command line:
PYTHONPATH=/home/me/pythonlibs python myprog.py&lt;/p&gt;</description>
      <pubDate>Sun, 29 Jun 2008 13:15:26 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:3f83692d-e393-4377-8592-0857a2219b13</guid>
      <link>http://www.hcoder.org/articles/2008/06/24/frustrated-by-python-module-management#comment-1370</link>
    </item>
    <item>
      <title>"Frustrated by Python module management" by Michael Foord</title>
      <description>&lt;p&gt;Certainly using setup.py develop on a machine on which you are running automated tests sounds like a bad idea.&lt;/p&gt;


	&lt;p&gt;Are you using the same machine for running automated tests (on several branches) &lt;strong&gt;and&lt;/strong&gt; development (on several branches)?&lt;/p&gt;


	&lt;p&gt;Unless you are actually developing SQLAlchemy then you shouldn&amp;#8217;t install it in development mode.&lt;/p&gt;


	&lt;p&gt;I would have all modules you depend on installed &amp;#8216;normally&amp;#8217;. Modules you are developing I personally wouldn&amp;#8217;t have them installed at all, but keep them within my project structure and rely on the development / test environment to make sure they can be imported.&lt;/p&gt;


	&lt;p&gt;Polluting your test environment from your development environment should be avoided&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Sat, 28 Jun 2008 14:02:15 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:59e621ac-83e2-4c0e-9555-6608cdda8fac</guid>
      <link>http://www.hcoder.org/articles/2008/06/24/frustrated-by-python-module-management#comment-1369</link>
    </item>
    <item>
      <title>"Wiki- and Uncyclopedia on Scientology" by erGuiri</title>
      <description>&lt;p&gt;Shame on you! You forgot to mention we (people from Las Palmas) are greatly connected to scientology&amp;#8230; you&amp;#8217;d think all those tourists come for the weather&amp;#8230; but they come (the ones that come on cruisers most of all) for historical reasons as one of the two planetary Implant Stations was located in our city!&lt;/p&gt;


	&lt;p&gt;Even though this is mentioned in uncyclopedia and may seem a joke, it is totally true &amp;#8220;cos wikipedia sez so&amp;#8221; too.&lt;/p&gt;


	&lt;p&gt;This one&amp;#8217;s funny too:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://uncyclopedia.org/wiki/Canary_Islands" rel="nofollow"&gt;http://uncyclopedia.org/wiki/Canary_Islands&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 21:14:47 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:41b037af-3c02-4f43-a8a1-4f736f5429e6</guid>
      <link>http://www.hcoder.org/articles/2008/05/04/wiki-and-uncyclopedia-on-scientology#comment-1174</link>
    </item>
    <item>
      <title>"I don't "git" it" by emanchado</title>
      <description>&lt;p&gt;Yeah, I know. I meant more in the context of DVCS. Most Git users seem to defend it over, say, Mercurial, which looks pretty powerful, easily extensible with Python, and it&amp;#8217;s distributed too anyway. And I, that I don&amp;#8217;t get Git yet, wonder if it will really be better than Mercurial for &amp;#8220;not huge&amp;#8221; projects, because I feel that even if Git is more powerful, that power won&amp;#8217;t really make a difference in those projects, and Mercurial&amp;#8217;s better interface will have a much bigger impact, &lt;em&gt;everyday&lt;/em&gt; for almost &lt;em&gt;every&lt;/em&gt; member of the team.&lt;/p&gt;


	&lt;p&gt;About the opera:talks, yeah, that&amp;#8217;s a good idea. I&amp;#8217;ll talk to someone and try to get that rolling&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Wed, 14 May 2008 18:29:39 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:65e7d43b-813c-4970-90eb-40c1a8bf205e</guid>
      <link>http://www.hcoder.org/articles/2008/05/13/i-dont-git-it#comment-1136</link>
    </item>
    <item>
      <title>"I don't "git" it" by Vetle</title>
      <description>&lt;p&gt;If you&amp;#8217;re used to SVN or CVS, then &lt;em&gt;anything&lt;/em&gt; is better. Btw, can you please tell them to upload opera:talks to YouTube? =)&lt;/p&gt;</description>
      <pubDate>Wed, 14 May 2008 08:12:20 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:271e3586-592f-41d2-bd81-9831a45da97f</guid>
      <link>http://www.hcoder.org/articles/2008/05/13/i-dont-git-it#comment-1120</link>
    </item>
    <item>
      <title>"I don't "git" it" by Sverre Johansen</title>
      <description>&lt;p&gt;The only thing that makes sense in git is the lower level stuff &amp;#8211; how everything is screwed and bolted together. It is based on a really simple, and to me clever, architecture. But the UI and the documentation really does kind of suck.&lt;/p&gt;


	&lt;p&gt;But the big advantage lays in the community. Because it is made by this motley crew of rockstar programmers all the kids dig it, and blogs about all the stuff that the retarded documentation is unable to explain you. All your answers are one google away.&lt;/p&gt;</description>
      <pubDate>Wed, 14 May 2008 00:20:56 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:ceb8ae46-3be1-44b2-9fbf-04f22339255c</guid>
      <link>http://www.hcoder.org/articles/2008/05/13/i-dont-git-it#comment-1094</link>
    </item>
  </channel>
</rss>
