Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 502d2b4

Browse files
committed
Added note about usual default prefix under Linux (thanks to Peter Funk
for the idea).
1 parent 822a86a commit 502d2b4

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

Doc/inst/inst.tex

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,15 @@ \subsection{How installation works}
271271
\lineiv{Unix (pure)}
272272
{\filenq{\var{prefix}/lib/python1.6/site-packages}}
273273
{\filenq{/usr/local/lib/python1.6/site-packages}}
274-
{}
274+
{(1)}
275275
\lineiv{Unix (non-pure)}
276276
{\filenq{\var{exec-prefix}/lib/python1.6/site-packages}}
277277
{\filenq{/usr/local/lib/python1.6/site-packages}}
278-
{}
278+
{(1)}
279279
\lineiv{Windows}
280280
{\filenq{\var{prefix}}}
281281
{\filenq{C:\bslash{}Python}}
282-
{(1)}
282+
{(2)}
283283
\lineiv{Mac~OS (pure)}
284284
{\filenq{\var{prefix}:Lib}}
285285
{\filenq{Python:Lib} \XXX{???}}
@@ -292,7 +292,12 @@ \subsection{How installation works}
292292

293293
\noindent Notes:
294294
\begin{description}
295-
\item[(1)] The default installation directory on Windows was
295+
\item[(1)] Most Linux distributions include Python as a standard part of
296+
the system, so \filevar{prefix} and \filevar{exec-prefix} are usually
297+
both \file{/usr} on Linux. If you build Python yourself on Linux (or
298+
any Unix-like system), the default \filevar{prefix} and
299+
\filevar{exec-prefix} are \file{/usr/local}.
300+
\item[(2)] The default installation directory on Windows was
296301
\file{C:\bslash{}Program Files\bslash{}Python} under Python 1.6a1,
297302
1.5.2, and earlier.
298303
\end{description}

0 commit comments

Comments
 (0)