Use user level installation rather than system level in advanced tutorial
|Reported by:||ncoghlan||Owned by:||Tim Graham|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The new advanced tutorial uses system level installation for simplicity in:
This requires several of the steps to be run with administrator privileges.
It should be possible to avoid this (and make the section even simpler) just by changing the installation command in this section to:
python setup.py install --user
This obviously won't work in versions prior to 2.6, but there's no reason a beginner would be using such an old version (and if they are, lack of per-user package support is going to be the least of their problems)
Note that per-user installations can still affect the behaviour of system tools run as that user, so virtualenv is still the more robust solution. However, per-user installs also have a *lot* recommend them over system level installs (such as being usable on systems where you don't have admin access, not running downloaded code with admin privileges, as well as not affecting the behaviour seen by system services and other users of the machine).
Change History (7)
comment:1 Changed 4 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Cleanup/optimization|