summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGodefroid Chapelle <gotcha@bubblenet.be>2007-06-15 07:16:32 +0000
committerGodefroid Chapelle <gotcha@bubblenet.be>2007-06-15 07:16:32 +0000
commitd21b376a4dda0351d444d6cafd08534afa35162e (patch)
tree8a78adf0757d3959dee34690466ae3222aff4f1c
parent4cd1afa5331ee2a750d8594b2587006175c5d027 (diff)
downloadzope-tal-pypyzpt.tar.gz
fix README as wellpypyzpt
-rw-r--r--README.txt19
1 files changed, 15 insertions, 4 deletions
diff --git a/README.txt b/README.txt
index 9bb0e74..0d448d7 100644
--- a/README.txt
+++ b/README.txt
@@ -45,12 +45,23 @@ path:
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.
+
+