How do I change the environment variable PYTHONUSERBASE
.
For example in Windows I want it to be:
c:\mysite
I tried this:
set PYTHONUSERBASE=c:\mysite
When I run python setup.py install --user
it still installs to the default location.
I am using Windows 7 with PowerShell.
More info here about how to use PYTHONUSERBASE. http://www.python.org/dev/peps/pep-0370/
I noticed most people prefect virtualenv but Python 2.6 introduced this new method.