Opened 8 years ago

Closed 8 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 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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