PLD-Guide python.xml,1.6,1.7

Artur Wróblewski wrobell w tldp.org
Pią, 14 Cze 2002, 11:24:56 CEST


Module name:    PLD-Guide
Changes by:     wrobell

Changed RCS file: /cvsroot/LDP/guide/docbook/PLD-Guide/devel/python.xml,v
----------------------------
revision 1.7
date: 2002/06/14 09:24:53;  author: wrobell;  state: Exp;  lines: +13 -3
- describe following macros: py_ver, py_prefix, py_libdir, py_incdir,
  py_sitedir, py_dyndir
 

Index: python.xml
===================================================================
RCS file: /cvsroot/LDP/guide/docbook/PLD-Guide/devel/python.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- python.xml	13 Jun 2002 18:05:33 -0000	1.6
+++ python.xml	14 Jun 2002 09:24:53 -0000	1.7
@@ -154,6 +154,8 @@
                     <term>py_ver</term>
                     <listitem>
                         <para>
+                            Python main version. For example, Python 2.2, 2.2.1 and 2.2.2
+                            main version is <literal>2.2</literal>.
                         </para>
                     </listitem>
                 </varlistentry>
@@ -162,22 +164,26 @@
                     <term>py_prefix</term>
                     <listitem>
                         <para>
+                            Directory prefix, where Python is installed. It points to <filename>/usr</filename>, usually.
                         </para>
                     </listitem>
                 </varlistentry>
 
                 <varlistentry>
-                    <term>py_libdir </term>
+                    <term>py_libdir</term>
                     <listitem>
                         <para>
+                            Directory, where Python is installed. It is created from prefix and Python main version,
+                            i.e. <filename>/usr/lib/python2.2</filename>.
                         </para>
                     </listitem>
                 </varlistentry>
 
                 <varlistentry>
-                    <term>py_incdir </term>
+                    <term>py_incdir</term>
                     <listitem>
                         <para>
+                            Directory, where Python header files are installed, i.e. <filename>/usr/include/python2.2</filename>. Yes, main version is used to build it.
                         </para>
                     </listitem>
                 </varlistentry>
@@ -186,14 +192,18 @@
                     <term>py_sitedir</term>
                     <listitem>
                         <para>
+                            Directory, where all non-standard, site specific Python modules are installed. It is created from
+                            library directory, i.e. <filename>/usr/lib/python2.2/site-packages</filename>.
                         </para>
                     </listitem>
                 </varlistentry>
 
                 <varlistentry>
-                    <term>py_dyndir </term>
+                    <term>py_dyndir</term>
                     <listitem>
                         <para>
+                            Directory, where all shared modules are installed. It is created
+                            from library directory, i.e. <filename>/usr/lib/python2.2/lib-dynload</filename>.
                         </para>
                     </listitem>
                 </varlistentry>



Więcej informacji o liście dyskusyjnej pld-doc