Opened 9 years ago

Closed 9 years ago

#4537 closed (fixed)

use get_python_lib to find site-packages

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

Description

http://www.djangoproject.com/documentation/install/

"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 Changed 9 years ago by Malcolm Tredinnick

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 Changed 9 years ago by Adrian Holovaty

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