[Distutils] [issue144] Improve per-user installation instructions

Reuben Thomas setuptools at bugs.python.org
Sun Aug 19 23:10:01 CEST 2012


New submission from Reuben Thomas:

The instructions for non-root use of EasyInstall appear to be out of date; specifically, they don't seem to take PEP 370 into account.

My suggestion is that you replace the section called 'Mac OS X "User"
Installation' with a section called "Home directory installation" and
explain the PEP 370 method, which was implemented in Python 2.6, and
works on all OSes. With a ~/.pydistutils.cfg like the following:

[install]
install_lib = ~/.local/lib/python$py_version_short/site-packages
install_scripts = ~/.local/bin

You can install packages to PEP 370 paths, including scripts, and you
are using the same paths as if you use python setup.py install
--prefix=$HOME/.local.

You can then also remove the "Virtual python" section. Of course, some
users may still want to use Virtual Python with easy_install, but they
don't need special documentation to do so; they can just use the
Virtual Python documentation.

----------
messages: 693
nosy: rrt
priority: feature
status: unread
title: Improve per-user installation instructions

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue144>
_______________________________________________


More information about the Distutils-SIG mailing list