[Python-checkins] python/dist/src/Doc/inst inst.tex,1.55,1.56
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Sat Aug 7 23:30:22 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/inst
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26861
Modified Files:
inst.tex
Log Message:
[Patch #862531] Update version numbers.
Index: inst.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/inst/inst.tex,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** inst.tex 10 Jul 2004 11:11:15 -0000 1.55
--- inst.tex 7 Aug 2004 21:30:13 -0000 1.56
***************
*** 274,283 ****
{Platform}{Standard installation location}{Default value}{Notes}
\lineiv{\UNIX{} (pure)}
! {\filenq{\filevar{prefix}/lib/python2.0/site-packages}}
! {\filenq{/usr/local/lib/python2.0/site-packages}}
{(1)}
\lineiv{\UNIX{} (non-pure)}
! {\filenq{\filevar{exec-prefix}/lib/python2.0/site-packages}}
! {\filenq{/usr/local/lib/python2.0/site-packages}}
{(1)}
\lineiv{Windows}
--- 274,283 ----
{Platform}{Standard installation location}{Default value}{Notes}
\lineiv{\UNIX{} (pure)}
! {\filenq{\filevar{prefix}/lib/python2.4/site-packages}}
! {\filenq{/usr/local/lib/python2.4/site-packages}}
{(1)}
\lineiv{\UNIX{} (non-pure)}
! {\filenq{\filevar{exec-prefix}/lib/python2.4/site-packages}}
! {\filenq{/usr/local/lib/python2.4/site-packages}}
{(1)}
\lineiv{Windows}
***************
*** 315,319 ****
Under \UNIX, just type \code{python} at the shell prompt. Under
Windows, choose \menuselection{Start \sub Programs \sub Python
! 2.1 \sub Python (command line)}. Under Mac OS 9, start \file{PythonInterpreter}.
Once the interpreter is started, you type Python code at the
prompt. For example, on my Linux system, I type the three Python
--- 315,319 ----
Under \UNIX, just type \code{python} at the shell prompt. Under
Windows, choose \menuselection{Start \sub Programs \sub Python
! 2.4 \sub Python (command line)}. Under Mac OS 9, start \file{PythonInterpreter}.
Once the interpreter is started, you type Python code at the
prompt. For example, on my Linux system, I type the three Python
***************
*** 322,327 ****
\begin{verbatim}
! Python 1.5.2 (#1, Apr 18 1999, 16:03:16) [GCC pgcc-2.91.60] on linux2
! Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import sys
>>> sys.prefix
--- 322,327 ----
\begin{verbatim}
! Python 2.4 (#26, Aug 7 2004, 17:19:02)
! Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
***************
*** 1024,1036 ****
Microsoft Visual \Cpp, which uses COFF as the object file format.)
For this reason you have to convert Python's library
! \file{python20.lib} into the Borland format. You can do this as
follows:
\begin{verbatim}
! coff2omf python20.lib python20_bcpp.lib
\end{verbatim}
The \file{coff2omf} program comes with the Borland compiler. The file
! \file{python20.lib} is in the \file{Libs} directory of your Python
installation. If your extension uses other libraries (zlib,...) you
have to convert them too.
--- 1024,1036 ----
Microsoft Visual \Cpp, which uses COFF as the object file format.)
For this reason you have to convert Python's library
! \file{python24.lib} into the Borland format. You can do this as
follows:
\begin{verbatim}
! coff2omf python24.lib python24_bcpp.lib
\end{verbatim}
The \file{coff2omf} program comes with the Borland compiler. The file
! \file{python24.lib} is in the \file{Libs} directory of your Python
installation. If your extension uses other libraries (zlib,...) you
have to convert them too.
***************
*** 1093,1097 ****
\begin{verbatim}
! pexports python20.dll >python20.def
\end{verbatim}
--- 1093,1097 ----
\begin{verbatim}
! pexports python24.dll >python24.def
\end{verbatim}
***************
*** 1099,1107 ****
\begin{verbatim}
! dlltool --dllname python20.dll --def python20.def --output-lib libpython20.a
\end{verbatim}
The resulting library has to be placed in the same directory as
! \file{python20.lib}. (Should be the \file{libs} directory under your
Python installation directory.)
--- 1099,1107 ----
\begin{verbatim}
! dlltool --dllname python24.dll --def python24.def --output-lib libpython24.a
\end{verbatim}
The resulting library has to be placed in the same directory as
! \file{python24.lib}. (Should be the \file{libs} directory under your
Python installation directory.)
More information about the Python-checkins
mailing list