Hello,<br><br>Without trying to argue about the purity of package managers or their uses I would say that the reality is that there are some issues with dependable python packages supplied for various distros. Because of that I always find it easier to manage the necessary packages myself, that&#39;s all I was trying to say. Sometimes it&#39;s just not worth the trouble of fighting a package manager when you have something else that&#39;s completely workable and reliable, e.g. pip/setup_tools and pypi. Even then we&#39;re sometimes forced to develop against trunk for various projects, in which case you would still be better off using something like pip.<br>
<br>The reason setup_tools was installed is because pip requires it to function and I&#39;ve never had any trouble using the bootstrap scripts then installing pip via easy_install.<br><br>This has been my experience and your mileage may vary.<br>
<br>Cheers,<br>-Ed<br><br><div class="gmail_quote">On 1 April 2010 10:51, John Pinner <span dir="ltr">&lt;<a href="mailto:funthyme@gmail.com">funthyme@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
HI,<br><br>At the risk of repeating other (lengthy) discussions on this subject from 18 months ago...<br><br><div class="gmail_quote"><div class="im">On 1 April 2010 02:39, Jon Ribbens <span dir="ltr">&lt;<a href="mailto:jon%2Bpython-uk@unequivocal.co.uk" target="_blank">jon+python-uk@unequivocal.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On Tue, Mar 30, 2010 at 10:14:50PM +0100, Ed Stafford wrote:<br>
&gt;    Mike,<br>
&gt;<br>
&gt;    Glad it worked for you. Although the Ubuntu team does a fine job of<br>
&gt;    package management I&#39;m still a bit hesitant to use their python packages.<br></div></blockquote></div><div><br>The problem is that they&#39;re usually out-of-date. The same goes for debian whence Ubuntu obtain their packages.<br>

<br>The advantage of using Ubuntu/Debian packages, where up-to-date ones exist, is that your system is under consistent control of the system&#39;s package manager.<br><br></div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div>
&gt;    It&#39;s easy enough using vanilla python to get everything you need going.</div></blockquote></div><div><br>The issue with using the Python utils is that they do not play with the distibution&#39;s package management. For example, they do not cooperate over dependencies, nor provide a clean uninstall. No self-respecting sysadmin would dream of using them, simply because they are independent of the system&#39;s package management ( eg apt or yum).<br>

<br></div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div> In<br>
&gt;    the future you can do the following just as easily.<br>
&gt;<br>
</div>&gt;    `wget [1]<a href="http://peak.telecommunity.com/dist/ez_setup.py%60" target="_blank">http://peak.telecommunity.com/dist/ez_setup.py`</a><br>
<div>&gt;    `sudo python ez_setup.py`<br>
&gt;    `sudo easy_install pip virtualenv virtualenvwrapper`<br>
<br>
</div>I strongly advise not using easy_install, it&#39;s awful.<br></blockquote></div><div><br>Yes, because it&#39;s trying to solve the problems of package management on systems without a&#39;proper&#39;  package manager, it compromises those systems with one.<br>

<br>I think that the solution here is for the Python package maintainers to make sure that *they* provide the Debian/Ubuntu/Red Hat/SUSE/whatever packages, and not rely on the hard-pressed distribution maintainers.<br><br>

A kludge that I use is to download the Python package, eg xlwt, then do a setup.py build, and run alien on the resulting tar.gz to produce a .deb or .rpm. At least I get a package which can be installed/uninstalled by the system package manager, although Python dependencies will not be managed without a bit of tweaking.<br>

<br>Best wishes,<br><br>John<br>--<br><br><br></div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div>_______________________________________________<br>
python-uk mailing list<br>
<a href="mailto:python-uk@python.org" target="_blank">python-uk@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-uk" target="_blank">http://mail.python.org/mailman/listinfo/python-uk</a><br>
</div></div></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>EuroPython is coming! - <a href="http://www.europython.eu" target="_blank">http://www.europython.eu</a> - 17th-24th July 2010, Birmingham, UK<br>

</font><br>_______________________________________________<br>
python-uk mailing list<br>
<a href="mailto:python-uk@python.org">python-uk@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-uk" target="_blank">http://mail.python.org/mailman/listinfo/python-uk</a><br>
<br></blockquote></div><br>