[pypy-commit] cffi default: You have to say "zip_safe=False" in your module. Sorry...

arigo noreply at buildbot.pypy.org
Thu Sep 20 11:23:26 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r954:5196c9d4b9b0
Date: 2012-09-20 11:23 +0200
http://bitbucket.org/cffi/cffi/changeset/5196c9d4b9b0/

Log:	You have to say "zip_safe=False" in your module. Sorry...

diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -306,8 +306,13 @@
   import yourmodule
 
   setup(...
+        zip_safe=False,
         ext_modules=[yourmodule.ffi.verifier.get_extension()])
 
+Warning: you have to say ``zip_safe=False``, otherwise it might or might
+not work, depending on which verifier engine is used!  (I tried to find
+either workarounds or proper solutions but failed so far.)
+
 .. versionadded:: 0.4
    If your ``setup.py`` installs a whole package, you can put the extension
    in it too:
@@ -315,6 +320,7 @@
 ::
   
   setup(...
+        zip_safe=False,
         ext_package='yourpackage',     # but see below!
         ext_modules=[yourmodule.ffi.verifier.get_extension()])
 


More information about the pypy-commit mailing list