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

Skip to content

Commit d5faa7e

Browse files
committed
Changed the table of per-platform default installation locations to be
more consistent with the rest of the Python docs.
1 parent ee775a1 commit d5faa7e

1 file changed

Lines changed: 32 additions & 21 deletions

File tree

Doc/inst/inst.tex

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ \subsection{How building works}
249249

250250
In the future, more directories will be added to handle Python scripts,
251251
documentation, binary executables, and whatever else is needed to handle
252-
the job of installing Python modules and applicatins.
252+
the job of installing Python modules and applications.
253253

254254

255255
\subsection{How installation works}
@@ -266,26 +266,37 @@ \subsection{How installation works}
266266
varies by platform and by how you built/installed Python itself. On
267267
Unix and Mac OS, it also depends on whether the module distribution
268268
being installed is pure Python or contains extensions (``non-pure''):
269-
\begin{tableiii}{lll}{textrm}%
270-
{Platform}{Standard installation location}{Default value}
271-
\lineiii{Unix (pure Python modules)}
272-
{\file{\filevar{prefix}/lib/python1.6/site-packages}}
273-
{\file{/usr/local/lib/python1.6/site-packages}}
274-
\lineiii{Unix (non-pure distribution)}
275-
{\file{\filevar{exec-prefix}/lib/python1.6/site-packages}}
276-
{\file{/usr/local/lib/python1.6/site-packages}}
277-
\lineiii{Windows}
278-
{\filevar{prefix}}
279-
{\file{C:\bslash{}Python}
280-
\footnote{\file{C:\bslash{}Program Files\bslash{}Python}
281-
under Python 1.6a1 and earlier}}
282-
\lineiii{Mac~OS (pure Python modules)}
283-
{\file{\filevar{prefix}}:Lib}
284-
{\file{Python:Lib}\XXX{???}}
285-
\lineiii{Mac~OS (non-pure distribution)}
286-
{\file{\filevar{prefix}}:Mac:PlugIns}
287-
{\file{Python:Mac:PlugIns}\XXX{???}}
288-
\end{tableiii}
269+
\begin{tableiv}{l|l|l|c}{textrm}%
270+
{Platform}{Standard installation location}{Default value}{Notes}
271+
\lineiv{Unix (pure)}
272+
{\filenq{\var{prefix}/lib/python1.6/site-packages}}
273+
{\filenq{/usr/local/lib/python1.6/site-packages}}
274+
{}
275+
\lineiv{Unix (non-pure)}
276+
{\filenq{\var{exec-prefix}/lib/python1.6/site-packages}}
277+
{\filenq{/usr/local/lib/python1.6/site-packages}}
278+
{}
279+
\lineiv{Windows}
280+
{\filenq{\var{prefix}}}
281+
{\filenq{C:\bslash{}Python}}
282+
{(1)}
283+
\lineiv{Mac~OS (pure)}
284+
{\filenq{\var{prefix}:Lib}}
285+
{\filenq{Python:Lib} \XXX{???}}
286+
{}
287+
\lineiv{Mac~OS (non-pure)}
288+
{\var{prefix}:Mac:PlugIns}
289+
{\filenq{Python:Mac:PlugIns}\XXX{???}}
290+
{}
291+
\end{tableiv}
292+
293+
\noindent Notes:
294+
\begin{description}
295+
\item[(1)] The default installation directory on Windows was
296+
\file{C:\bslash{}Program Files\bslash{}Python} under Python 1.6a1,
297+
1.5.2, and earlier.
298+
\end{description}
299+
289300
\filevar{prefix} and \filevar{exec-prefix} stand for the directories
290301
that Python is installed to, and where it finds its libraries at
291302
run-time. They are always the same under Windows and Mac~OS, and very

0 commit comments

Comments
 (0)