Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
933f0c38
Commit
933f0c38
authored
Sep 14, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid reference to specific versions of Python where possible.
This partially addresses SourceForge bug #114318.
parent
66d32b1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/api/api.tex
Doc/api/api.tex
+3
-3
No files found.
Doc/api/api.tex
View file @
933f0c38
...
...
@@ -102,7 +102,7 @@ the installation directory specified to the installer.
To include the headers, place both directories (if different) on your
compiler's search path for includes. Do
\emph
{
not
}
place the parent
directories on the search path and then use
\samp
{
\#
include <python
1.5
/Python.h>
}
; this will break on
\samp
{
\#
include <python
\var
{
version
}
/Python.h>
}
; this will break on
multi-platform builds since the platform independent headers under
\envvar
{
prefix
}
include the platform specific headers from
\envvar
{
exec
_
prefix
}
.
...
...
@@ -550,14 +550,14 @@ upon its best guess for the location of the standard Python
interpreter executable, assuming that the Python library is found in a
fixed location relative to the Python interpreter executable. In
particular, it looks for a directory named
\file
{
lib/python
1.5
}
(replacing
\file
{
1.5
}
with the current
\file
{
lib/python
\var
{
version
}}
(replacing
\var
{
version
}
with the current
interpreter version) relative to the parent directory where the
executable named
\file
{
python
}
is found on the shell command search
path (the environment variable
\envvar
{
PATH
}
).
For instance, if the Python executable is found in
\file
{
/usr/local/bin/python
}
, it will assume that the libraries are in
\file
{
/usr/local/lib/python
1.5
}
. (In fact, this particular path
\file
{
/usr/local/lib/python
\var
{
version
}
}
. (In fact, this particular path
is also the ``fallback'' location, used when no executable file named
\file
{
python
}
is found along
\envvar
{
PATH
}
.) The user can override
this behavior by setting the environment variable
\envvar
{
PYTHONHOME
}
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment