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
d784f47f
Commit
d784f47f
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
f0480bb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/lib/libsite.tex
Doc/lib/libsite.tex
+4
-4
No files found.
Doc/lib/libsite.tex
View file @
d784f47f
...
...
@@ -39,10 +39,10 @@ refers to a directory (rather than a file). No item is added to
For example, suppose
\code
{
sys.prefix
}
and
\code
{
sys.exec
_
prefix
}
are
set to
\file
{
/usr/local
}
. The Python
\version\
library is then
installed in
\file
{
/usr/local/lib/python
1.5
}
(note that only the first
three characters of
\code
{
sys.version
}
are used to form the path
name).
Suppose this has a subdirectory
\file
{
/usr/local/lib/python
1.5
/site-packages
}
with three
installed in
\file
{
/usr/local/lib/python
\var
{
version
}}
(where
\var
{
version
}
is the first three characters of
\code
{
sys.version
}
).
Suppose this has a subdirectory
\file
{
/usr/local/lib/python
\var
{
version
}
/site-packages
}
with three
subsubdirectories,
\file
{
foo
}
,
\file
{
bar
}
and
\file
{
spam
}
, and two
path configuration files,
\file
{
foo.pth
}
and
\file
{
bar.pth
}
. Assume
\file
{
foo.pth
}
contains the following:
...
...
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