]> git.pld-linux.org Git - packages/python.git/blame - python-doc_path.patch
- adapterized (avoid macros with /usr/include/{ncurses,freetype}*)
[packages/python.git] / python-doc_path.patch
CommitLineData
1aa71345 1--- Python-2.3.3/Lib/pydoc.py.orig 2004-01-07 12:20:29.000000000 +0100
2+++ Python-2.3.3/Lib/pydoc.py 2004-01-07 12:23:05.000000000 +0100
3@@ -1527,12 +1527,7 @@
4 homedir = os.environ.get('PYTHONHOME')
5 for dir in [os.environ.get('PYTHONDOCS'),
6 homedir and os.path.join(homedir, 'doc'),
7- os.path.join(execdir, 'doc'),
8- '/usr/doc/python-docs-' + split(sys.version)[0],
9- '/usr/doc/python-' + split(sys.version)[0],
10- '/usr/doc/python-docs-' + sys.version[:3],
11- '/usr/doc/python-' + sys.version[:3],
12- os.path.join(sys.prefix, 'Resources/English.lproj/Documentation')]:
13+ '/usr/share/doc/python-doc-' + split(sys.version)[0]]:
14 if dir and os.path.isdir(os.path.join(dir, 'lib')):
15 self.docdir = dir
16
This page took 0.036222 seconds and 4 git commands to generate.