[CentralOH] OS Package Managers and Python
godber at gmail.com
Tue May 14 00:19:04 CEST 2013
On OSX, I've had decent luck with MacPorts (and with homebrew). Another
stand alone option would be to use pythonz (
https://github.com/saghul/pythonz), it allows local installation of
specific versions of multiple Python interpreters (including stackless,
pypy, and jython, but definitely 3.3).
On Ubuntu, I tend to use the supplied 2.7 release.
I always use virtualenv (by means of virtualenv wrapper) to lockdown and
isolate my project dependencies. This achieves something similar to what
ruby's bundler does (though by different means) or like gemsets in RVM.
Basically a virtualenv is a project specific place where packages get
installed. Typically its kept separate from the global python packages
supplied by the OS. I gave a presentation to COHPy on virtualenv a few
years back, and just recently to DesertPy ... presentation available online
Though you're better off just looking at the virtualenv wrapper docs.
On Mon, May 13, 2013 at 1:53 PM, Mark Aufdencamp <mark at aufdencamp.com>wrote:
> Greetings All,
> I've been playing with python on my MacBook. Of course, it shipped with
> python 2.6 and easy_install. I installed pip on it last year at PyOhio.
> I've upgraded pip to the current version, and been able to install
> Django and such. I'm now looking at installing 2.7 and 3.3 on it.
> Concurrently with this, I'm looking at my environment on my Ubuntu
> desktop and servers. So questions:
> 1. Should I use the standard release page distributions, Mac Ports, or
> build my own for the newer versions on my MacBook? Pros and cons of 32
> vs 64 bit?
> 2. Same goes for Python on Ubuntu, apt-get, or standard release source?
> 3. How about easy_install and pip on Ubuntu? Install python-setuptools
> for easy install and then pip, or use the apt-get pip package? Really
> like some discussion on pros and cons, as I know this has been a huge
> issue in the ruby world with gems.
> Mark Aufdencamp
> Mark at Aufdencamp.com
> CentralOH mailing list
> CentralOH at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentralOH