on 18-6-2009 10:48 Roberto Siqueira wrote:
Hi, Roger:
No problem. I'll edit faq/391 to include a "Mac" section.
I would prefer to have a separate faq for installing on a Mac, just
like I created FAQs for Ubuntu9.04, 8.10, 8.04LTS, and Windows Vista.
Then FAQ/391 could be turned into a placeholder that helps the
developer find the correct FAQ. The advantage is that instructions
keep focused on the OS in question. Also, it keeps a FAQ from
becoming too large a document (newbies might find it scary when
installation instructions run on and on, but maybe that's too
personal...). The disadvantage is that when instructions change,
multiple FAQs have to be edited.
Just another
thing: please have a look at
http://www.saltycrane.com/blog/2007/01/how-to-install-easy-install-for-python/
. Shouldn't we replace this:
<<
On Ubuntu and maybe other Debian flavors you may need to issue these
two commands first:
sudo apt-get install python-dev
sudo apt-get install build-essential
in order to get all the required headers and libs.
Assuming that you have installed easy_install according to these
instructions: http://peak.telecommunity.com/DevCenter/EasyInstall
and assuming you have installed virtualenv (easy_install virtualenv)
and the version control system bazaar (sudo apt-get install bzr)
sudo easy_install virtualenv
>>
... by this:
<<
On Ubuntu and maybe other Debian flavors you may need to issue these
two commands first:
sudo apt-get install python-setuptools python-dev build-essential #
if you do not have the "easy_install" utility
sudo apt-get install bzr # if you do not have the version control
system "bazaar"
sudo easy_install virtualenv
>>
... as well?
For 'old' versions of Ubuntu, I agree.
I also noted (but not tested) that, starting from Ubuntu
Intrepid (8.10; I'm still on 8.04 LTS "Hardy", myself), there is
also a "python-virtualenv" package
(http://packages.ubuntu.com/intrepid/python-virtualenv) that should
take care of all the "easy_install" dependencies for us. In this
case, the text would become even simpler:
<<
On Ubuntu and maybe other Debian flavors you may need to issue these
two commands first:
sudo apt-get install python-virtualenv # if you do not have the
"virtualenv" utility
sudo apt-get install bzr # if you do not have the version control
system "bazaar"
>>
What do you think?
Yes, I did so in the faq for Ubuntu9.04:
https://answers.launchpad.net/oship/+faq/559
I still have to review the steps for 8.10 and 8.04 in order to update
their respective faqs.
Best,
Roger