summaryrefslogtreecommitdiffstats
path: root/Doc/library/site.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38623: Doc: Add section for site module CLI. (GH-17858)Inada Naoki2020-01-071-2/+7
|
* bpo-33944: note about the intended use of code in .pth files (GH-10131)native-api2019-09-111-0/+13
| | | https://bugs.python.org/issue33944
* Doc: Replace the deprecated highlightlang directive by highlight. (#13377)Stéphane Wirtel2019-05-171-1/+1
| | | | highlightlang is deprecated since April 2018 in Sphinx. See https://github.com/sphinx-doc/sphinx/pull/4845
* bpo-33456: site module documentation - fix wrong default for key in ↵Lukas Waymann2019-04-091-3/+3
| | | | pyvenv.cfg (GH-6755)
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-1/+1
|
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-0/+4
|
* Fix site module documentation. (GH-8441)Mariatta2018-07-241-1/+1
| | | The script will exit with the number 0 (zero), instead of the letter O.
* Improve highlighting of some code blocks. (GH-6401)Serhiy Storchaka2018-04-081-1/+1
|
* Make site documentation more clear (#5461)Xiang Zhang2018-01-311-6/+8
| | | | Mention only ImportError caused by importing sitecustomize.py/usercustomize.py themselves will be silently ignored.
* Issue #21711: support for "site-python" directories has now been removed ↵Antoine Pitrou2014-06-121-10/+8
| | | | from the site module (it was deprecated in 3.4).
* Fix Issue #21528 - Fix documentation typosDonald Stufft2014-05-201-1/+1
|
* Merge with 3.4Terry Jan Reedy2014-04-291-1/+5
|\
| * Issue #21026: Augment site doc based on experiments. Patch by Carol Willing.Terry Jan Reedy2014-04-291-1/+5
| |
| * Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-3/+7
| |
* | Use deprecated-removed directive, clean up a few markup issues aroundGeorg Brandl2014-03-241-1/+1
| | | | | | | | deprecated directives.
* | whatsnew: sys.__interactivehook__. (#5845)R David Murray2014-03-091-3/+7
|/ | | | | | I decided to leave the (slightly expanded) Other Improvements entry as well, since someone looking for command line behavior changes isn't going to look in the 'sys' module section.
* Issue #19375: The site module adding a "site-python" directory to sys.path, ↵Antoine Pitrou2013-10-251-0/+3
| | | | if it exists, is now deprecated.
* Issue #5845: Enable tab-completion in the interactive interpreter by ↵Antoine Pitrou2013-05-041-2/+18
| | | | | | default, thanks to a new sys.__interactivehook__. (original patch by Éric Araujo)
* #11643: merge with 3.2.Ezio Melotti2012-09-171-1/+1
|\
| * #11643: fix rst markup error in site.rst.Ezio Melotti2012-09-171-1/+1
| |
* | Issue 15241: Improved site.py documentation relating to venvs.Vinay Sajip2012-07-031-0/+9
| |
* | Remove packaging from the standard library.Éric Araujo2012-06-241-2/+2
| | | | | | | | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* | Merge doc changes from 3.2 (#8617, #10745).Éric Araujo2011-08-061-41/+92
|\ \ | |/ | | | | | | | | | | | | | | | | In the install and library docs, I changed the text to refer to packaging instead of distutils. I also checked that the documented paths correctly reflect what’s really defined in sysconfig; the main difference with paths defined in distutils.install is that include directories don’t end with the distribution name anymore (i.e. distutils uses include/python3.3/spam, sysconfig include/python3.3), I have no idea why.
| * Add documentation for PEP 370 features in distutils (#10745).Éric Araujo2011-08-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This started out as an easy task, just add a section describing this alternate scheme, but I found a lot of cleanup to do along the way: - fixed inverted reST targets - fixed entries for modules (hi abiflags!) or data files - avoided duplicating the same options listing five or six times - added missing entries for C headers locations - added documentation for --install-lib - fixed a few misuses of the option role (see #9312), but not all (not worth the time, but will do it in packaging docs) - fixed some markup The paths fixes were done with an eye on the source code in the install command, so they really describe what’s actually done. The situation on Mac OS X is rather messy: the fix for #8084 touched site and sysconfig, but distutils doesn’t use these files. I suspect we have a mismatched stdlib at the moment, and the fix is not even clear (see the bug report for further discussion).
| * Improve documentation for PEP 370 support in site module (#8617).Éric Araujo2011-08-051-36/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | site.USER_BASE and site.USER_SITE are now fully documented. PEP 370 is outdated with respects to the Mac framework situation, but the code in sysconfig and the example in the 3.2 What’s New document helped me find the right values to document for Mac OS X. The command-line interface of the site module, partly documented in the 3.2 What’s New, is fully described in the module docs. The purpose of the usercustomize module is explained in the site docs, with a gentle introduction in the tutorial (right after the section that talks about PYTHONSTARTUP; a comment mentions it should be moved from the tutorial to another file, but that will be another bug). Various markup and wording improvements were made along the way in the site module docs. Duplicate and incomplete declarations of environment variables have also been removed (the original bug report was actually about these entries :). The site module docs are still a bit messy; I’ll see about improving them for #11553. All these sections are copiously interlinked and findable from the doc indexes.
* | Also add versionchanged directive to the function doc (#11591)Éric Araujo2011-05-061-0/+4
| |
* | Add versionchanged for a364719e400a (#11591)Éric Araujo2011-04-241-0/+4
| |
* | Do not touch sys.path when site is imported and python was started with -S.Éric Araujo2011-03-231-1/+12
|/ | | | | Original patch by Carl Meyer, review by Brett Cannon, small doc editions by yours truly. Fixes #11591.
* More source linksRaymond Hettinger2011-01-271-0/+3
|
* Merged revisions 78859-78860 via svnmerge fromGeorg Brandl2010-03-121-2/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line Get rid of backticks. ........ r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line Fix warnings from "make check". ........
* More versionadded/versionchanged fixesMark Dickinson2009-10-011-3/+3
|
* Switch more function arguments docs to new-style.Georg Brandl2009-09-021-3/+2
|
* Merged revisions 74526 via svnmerge fromTarek Ziadé2009-08-201-0/+26
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74526 | tarek.ziade | 2009-08-20 23:23:13 +0200 (Thu, 20 Aug 2009) | 1 line #6693: New functions in site.py to get user/global site packages paths. ........
* Devil merge!Benjamin Peterson2008-09-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 66561,66564,66580,66610,66614,66618,66624-66625,66628-66629,66643,66645,66660-66665 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r66561 | benjamin.peterson | 2008-09-22 17:13:29 -0500 (Mon, 22 Sep 2008) | 1 line clean up docs for platform's linux_distribution and dist functions ........ r66564 | benjamin.peterson | 2008-09-23 08:32:46 -0500 (Tue, 23 Sep 2008) | 1 line mention how to override boolean evaluation ........ r66580 | georg.brandl | 2008-09-24 04:47:55 -0500 (Wed, 24 Sep 2008) | 2 lines Indentation normalization. ........ r66610 | andrew.kuchling | 2008-09-24 12:27:55 -0500 (Wed, 24 Sep 2008) | 1 line Improve wording ........ r66614 | benjamin.peterson | 2008-09-24 17:11:59 -0500 (Wed, 24 Sep 2008) | 4 lines #3950 fix missing scale factors in turtle.py reviewers: Georg, Benjamin ........ r66618 | benjamin.peterson | 2008-09-25 15:35:45 -0500 (Thu, 25 Sep 2008) | 1 line add a NEWs entry for r66614 ........ r66624 | raymond.hettinger | 2008-09-25 18:31:52 -0500 (Thu, 25 Sep 2008) | 1 line Fix namedtuple bug reported by Glenn Linderman. Template did not form correctly if the field names were input in Unicode. ........ r66625 | benjamin.peterson | 2008-09-25 21:58:36 -0500 (Thu, 25 Sep 2008) | 1 line add the beginnings of a C-API 2 -> 3 porting guide ........ r66628 | benjamin.peterson | 2008-09-26 15:52:06 -0500 (Fri, 26 Sep 2008) | 1 line add an 'other options' section ........ r66629 | georg.brandl | 2008-09-26 16:15:21 -0500 (Fri, 26 Sep 2008) | 2 lines typos. ........ r66643 | andrew.kuchling | 2008-09-27 09:12:33 -0500 (Sat, 27 Sep 2008) | 1 line Add a last bunch of items ........ r66645 | benjamin.peterson | 2008-09-27 11:23:55 -0500 (Sat, 27 Sep 2008) | 1 line 2to3's api should be considered unstable ........ r66660 | andrew.kuchling | 2008-09-27 17:54:08 -0500 (Sat, 27 Sep 2008) | 1 line #3510: future-proof text ........ r66661 | benjamin.peterson | 2008-09-27 18:28:43 -0500 (Sat, 27 Sep 2008) | 1 line clarify a few things ........ r66662 | andrew.kuchling | 2008-09-27 19:15:27 -0500 (Sat, 27 Sep 2008) | 1 line #1579477: mention necessity to flush output before exec'ing ........ r66663 | andrew.kuchling | 2008-09-27 20:08:47 -0500 (Sat, 27 Sep 2008) | 1 line #1415508: Document two functions ........ r66664 | benjamin.peterson | 2008-09-27 20:51:36 -0500 (Sat, 27 Sep 2008) | 1 line better grammar ........ r66665 | benjamin.peterson | 2008-09-27 20:53:29 -0500 (Sat, 27 Sep 2008) | 1 line note the 2to3 -d could be useful for other refactoring ........
* Use version 3.0.Georg Brandl2008-08-031-2/+2
|
* Merged revisions 65378-65379,65430 via svnmerge fromGeorg Brandl2008-08-031-2/+2
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65378 | georg.brandl | 2008-08-01 22:04:43 +0200 (Fri, 01 Aug 2008) | 4 lines Add the grammar to the reference manual, since the new docs don't have the feature of putting all the small EBNF snippets together into one big file. ........ r65379 | georg.brandl | 2008-08-01 22:13:29 +0200 (Fri, 01 Aug 2008) | 2 lines This should really be a comment. ........ r65430 | georg.brandl | 2008-08-03 11:21:18 +0200 (Sun, 03 Aug 2008) | 2 lines #3495: use current version. ........
* Remove many "versionchanged" items that didn't use the official markup,Georg Brandl2008-05-121-12/+0
| | | | | | but just some text embedded in the docs. Also remove paragraph about implicit relative imports from tutorial.
* Merged revisions 62774-62775,62785,62787-62788 via svnmerge fromChristian Heimes2008-05-061-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r62774 | georg.brandl | 2008-05-06 19:11:42 +0200 (Tue, 06 May 2008) | 2 lines #2773: fix description of 'g' and 'G' formatting spec. ........ r62775 | georg.brandl | 2008-05-06 19:20:54 +0200 (Tue, 06 May 2008) | 2 lines > != (!<). ........ r62785 | benjamin.peterson | 2008-05-07 00:18:11 +0200 (Wed, 07 May 2008) | 2 lines Fix logic error in Python/_warnings.c and add a test to verify ........ r62787 | benjamin.peterson | 2008-05-07 00:31:52 +0200 (Wed, 07 May 2008) | 2 lines Make the Python implementation of warnings compatible with the C implementation regarding non-callable showwarning ........ r62788 | christian.heimes | 2008-05-07 00:41:46 +0200 (Wed, 07 May 2008) | 1 line Implemented PEP 370 ........
* Get rid of the remaining versionadded/versionchanged directives.Georg Brandl2007-09-011-3/+0
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+87