Opened 17 years ago

Closed 17 years ago

#4537 closed (fixed)

use get_python_lib to find site-packages

Reported by: Carl Karsten <carl@…> Owned by: Jacob
Component: * Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


"Where are my site-packages stored?"
Something like this should be added to that section:

python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"

and that section should be referenced lower on the page under "Installing the development version" where almost 1/2 the text is about finding the site-packages dir.

Change History (2)

comment:1 by Malcolm Tredinnick, 17 years ago

Triage Stage: UnreviewedAccepted

Adding something like this would be a good idea. It's compatible all the way back to 2.3. Care to write up a patch (against docs/install.txt)?

comment:2 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

(In [5503]) Fixed #4537 -- Added note to docs/install.txt about get_python_lib() shortcut. Thanks, Carl Karsten

Note: See TracTickets for help on using tickets.
Back to Top