[Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

Christian Heimes lists at cheimes.de
Sun May 4 18:24:38 CEST 2008


Jesse Noller schrieb:
 > One thing that could be done is pick a default name for the parent,
> ala ~/Python - but let users override it with an environment variable
> if they so desire (PYTHON_USER_DIR?) so that those who want it hidden
> can have it hidden, and those of us who don't, don't.

Has anybody read my PEP or do I need a Christian's English to real
English converter? *g*

>From my PEP 370:

---
The path to the user base directory can be overwritten with the
environment variable PYTHONUSERBASE. The default location is used when
PYTHONUSERBASE is not set or empty.
---

PYTHONUSERBASE defaults to ~/.local/ on Unix. In order to install
packages in ~/lib, ~/bin etc directly you can do

export PYTHONUSERBASE=$HOME

in your .bashrc or .profile.

Christian


More information about the Python-3000 mailing list