scripts/setup-virtualenv-web2py.sh in the trunk does not seem to be working. Here is a replacement that should do the trick on most posix systems.
it downloads virtualenv, installs it, creates a virtual environment
directory and starts the virtual environment in the new directory. Then it
installs the latest version of web2py to the virtual environment and starts
web2py.
Once you complete your web2py session you will want to shut down the virtual
environment by typing 'disactivate' in the terminal, see notes in the script
for details
Seems to work fine on OSX but I have not been running it for very long ;).
Please test.
It could create a directory to hold all the virtual environments, I was
thinking that something like ${HOME}/dev/environments might work, feedback
welcome.
Massimo, please feel free to include in in the trunk as is if you wish or I
could update it to create a directory in the users home directory
automatically
Cheers,
Chris
--
Christopher Steel
Voice of Access
setup-virtualenv-install-web2py.sh
Description: Bourne shell script

