[Checkins] SVN: zope.tal/branches/pypyzpt/README.txt fix README as
well
Godefroid Chapelle
gotcha at bubblenet.be
Fri Jun 15 03:16:33 EDT 2007
Log message for revision 76705:
fix README as well
Changed:
U zope.tal/branches/pypyzpt/README.txt
-=-
Modified: zope.tal/branches/pypyzpt/README.txt
===================================================================
--- zope.tal/branches/pypyzpt/README.txt 2007-06-15 05:00:21 UTC (rev 76704)
+++ zope.tal/branches/pypyzpt/README.txt 2007-06-15 07:16:32 UTC (rev 76705)
@@ -45,12 +45,23 @@
Now, run the following command to compile::
- $ python /path/to/pypy-dist/pypy/bin/compilemodule.py _talinterpreter zope.tal
+ $ python /path/to/pypy-dist/pypy/bin/compilemodule.py _talinterpreter -p zope.tal
The first argument is name of the RPython sub-package you want to
-compile, the second argument is path to the package where this RPython
+compile, the option `-p` specifies the name of the package where this RPython
sub-package is found.
The compiled module will be placed in
-/tmp/usession-XX/_talinterpreter/_talinterpreter.so. Move this file to
-src/zope/tal and rename _talinterpreter the package to make this work.
+/tmp/usession-XX/_talinterpreter/_talinterpreter.so.
+
+To run the tests with the compiled module, you need to move the `.so` file to
+src/zope/tal and to rename `_talinterpreter`.
+
+Alternatilvely, you could run the following command::
+
+ $ python /path/to/pypy-dist/pypy/bin/compilemodule.py _talinterpreter -p zope.tal -d /path/to/src/zope/tal
+
+where `-d` option specifies the directory where to copy the compiled module.
+You'd still need to rename the existing `_talinterpreter` sub-package.
+
+
More information about the Checkins
mailing list