On Tue, Dec 14, 2010 at 2:24 PM, P.J. Eby <span dir="ltr">&lt;<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">At 01:42 PM 12/14/2010 +0100, Arve Knudsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Using Distribute in my setup.py, how do I best ensure that pkg_resources gets installed along with my package? I&#39;ve tried &#39;install_requires=[&quot;setuptools&gt;=0.6&quot;]&#39; as an argument to setup(), but setuptools didn&#39;t get installed.<br>

</blockquote>
<br>
<br></div>
I don&#39;t know about Distribute, but it should definitely get installed if you&#39;re using setuptools.  Under what installation scenario(s) did setuptools *not* get installed?<br></blockquote><div><br></div><div>Basically, my project bundles Distribute through distribute_setup.py, so Distribute doesn&#39;t need to be preinstalled. When I try to install my project (through &#39;python setup.py install&#39;) on a machine without setuptools/pkg_resources installed, however, setuptools does not get installed.</div>
<div><br></div><div>I&#39;ll try to reduce this to a simple case, i.e. a dummy project that requires setuptools.</div><div><br></div><div>Arve</div></div>