[GRASS-SVN] r30542 - grass/trunk/swig/python

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 13 02:35:11 EDT 2008


Author: hamish
Date: 2008-03-13 02:35:10 -0400 (Thu, 13 Mar 2008)
New Revision: 30542

Modified:
   grass/trunk/swig/python/README
Log:
mention .pyc creation

Modified: grass/trunk/swig/python/README
===================================================================
--- grass/trunk/swig/python/README	2008-03-13 05:14:48 UTC (rev 30541)
+++ grass/trunk/swig/python/README	2008-03-13 06:35:10 UTC (rev 30542)
@@ -18,7 +18,14 @@
 
 It will create two files, python_grass6.py and _python_grass6.so.
 
-4. It is useful to build the NumPtr module as well.
+4. From within GRASS (or a fakegrass session) run "python test.py" to
+   test and to automatically create a byte-compiled version of the module
+   (python_grass6.pyc). The .pyc file is platform indepenent and may be
+   safely shared among systems. Even so, it doesn't hurt to rebuild it
+   ourselves while we still have write permissions and to make sure we
+   are using an up to date copy. (out of data copies will be ignored)
+
+5. It is useful to build the NumPtr module as well.
    - see README.GRASS in that directory for instructions
 
 How to use it?



More information about the grass-commit mailing list