Django

Code

Ticket #4537 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

use get_python_lib to find site-packages

Reported by: Carl Karsten <carl@personnelware.com> Assigned to: jacob
Milestone: Component: Django Web site
Version: SVN Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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.

Attachments

Change History

06/12/07 21:33:09 changed by mtredinnick

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

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)?

06/20/07 01:23:16 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #4537 (use get_python_lib to find site-packages)




Change Properties
Action