PLD-Guide python.xml,1.7,1.8

Artur Wróblewski wrobell w tldp.org
Pią, 14 Cze 2002, 17:34:40 CEST


Module name:    PLD-Guide
Changes by:     wrobell

Changed RCS file: /cvsroot/LDP/guide/docbook/PLD-Guide/devel/python.xml,v
----------------------------
revision 1.8
date: 2002/06/14 15:34:37;  author: wrobell;  state: Exp;  lines: +18 -0
- described following macros: py_comp, py_ocomp and pyrequires_eq
 

Index: python.xml
===================================================================
RCS file: /cvsroot/LDP/guide/docbook/PLD-Guide/devel/python.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- python.xml	14 Jun 2002 09:24:53 -0000	1.7
+++ python.xml	14 Jun 2002 15:34:37 -0000	1.8
@@ -212,6 +212,9 @@
                     <term>py_comp</term>
                     <listitem>
                         <para>
+                            Finds recursively all Python source files in
+                            specified directory and compiles them into
+                            bytecode.
                         </para>
                     </listitem>
                 </varlistentry>
@@ -220,6 +223,9 @@
                     <term>py_ocomp</term>
                     <listitem>
                         <para>
+                            Finds recursively all Python source files in
+                            specified directory and compiles them into
+                            optymized bytecode.
                         </para>
                     </listitem>
                 </varlistentry>
@@ -228,10 +234,22 @@
                     <term>pyrequires_eq()</term>
                     <listitem>
                         <para>
+                            Creates dependency on specified package with main version
+                            unchanged.
                         </para>
                     </listitem>
                 </varlistentry>
             </variablelist>
         </para>
+        <!-- para>
+            more info about: py_?comp and pyrequires_eq macros
+            For example, when you want
+            dependency on python-libs package and use this
+            macro, then created package will require
+            python-libs with version greater or equal to 2.2 and less
+            then 2.3.
+
+            This macro is very usefull, because 
+        </para -->
     </section>
 </section>



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