Replies to multiple people. Ian, bobhaugen, Chris all pay attention :-). Ian, getsatchmo.py is in satchmo/scripts in the hg repository. the setup.py should drop a wrapper to it in <virtualenvdir>/bin. Once the virtualenv is activated, it should be in the user's path.
However, the python easy_install that's in ubuntu hardy's distribution is somewhat decrepit and broken and it wouldn't surprise me if it did the wrong thing. I don't feel like reverting the easy_install on my laptop to find out. For added joy, a pip installed systemwide seems to do stupid things if run within a virtualenv. And for even more joy evil sysadmins like me have a tendency to do things like have 'noexec' in our mount options for home directories :-). bobhaugen, Your inability to indicate step by step what you did, or atleast provide a transcript from the terminal window(s) you did things from makes problem determination difficult. If it would be possible for you to clean up earlier attempts, bring up a terminal window, run 'script -o /tmp/satchmo_intall.log', and go through the full set of steps, and send that here, it would be appreciated. Even more appreciated would be a 'which pip; which getsatchmo.py' after #5 easy_install pip included in your transcript. Chris, My impression is that the instructions seem to be stomping over each other a bit. A) pip -E <virtualenv> ... will do a virtualenv --no-site-packages <virtualenv> underneath the covers. pip --enable-site-packages -E <virtualenv> ... will do a virtualenv <virtualenv> underneath the covers. I think it's safe to suggest skipping the 'virtualenv' step and have something like 'If you intend to have some python libraries provided system wide ..., otherwise ....' B) I'm not sure what having getsatchmo.py wrap pip buys the user. have a requirements.txt and a requirements-pil.txt so the instructions then look more like 1) If you intend to install satchmo system wide... sudo pip -e ... If you intend to install satchmo to a virtualenv, but use site- packages pip install --enable-site-package -E <virtualenvdir> -e .... If you intend to install satchmo in a virtualenv that does not use site-packages pip install -E .... 2) Now install satchmo pre-reqs pip ... -r src/satchmo/scripts/requirements.txt 3) If your system does not have python imaging installed, or you need to have your own copy... pip .. -r ...requirements-pil.txt .... C) I'm not quite understanding what pip buys other than the ability to retrieve directly from source repository and a quick way to setup a virtualenv from development. While that may be useful from a development perspective, it's a PITA from a supported versions perspective. While everything that is currently retrieved from version control is good, eventually they won't be. easy_install has the ability to specify install requirements and build requirements, and repositories for source tarballs, and they work pretty well for environments where some requirements are provided via site-packages, and some requirements are provided through the virtualenv. And unlike the pip requirements, lack of python-imaging won't hide until I try and run manage.py :-). I'll see about updating the kludgery I did unto setup.py to handle build and install requirements and put the patch out for everyone to chew on. On Sep 18, 3:11 pm, Iain Mac Donald <[email protected]> wrote: > On Fri, 18 Sep 2009 11:32:24 -0700 (PDT) > > bobhaugen <[email protected]> wrote: > > I am sure I'm missing something important, > > From the comments section of getsatchmo.py > > "To execute, download this script to a directory and run: > python getsatchmo.py" > > Try wget? > > I am just guessing, as I haven't tested this script myself yet, but I > would have thought that the "pip install" process would download > everything for you. So, either your download failed or you downloaded > it to the wrong location. > > I would just delete everything and start from the beginning again. > > http://bitbucket.org/chris1610/satchmo/wiki/ImprovedInstallationProcess > > Regards, > Iain. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
