[pypy-dev] pypy about c-extension

KaShining mail2shine at qq.com
Mon Nov 4 09:31:33 CET 2013


NO.
I gen the .so under pypy-virtualenv.




------------------ Original ------------------
From:  "Armin Rigo";<arigo at tunes.org>;
Date:  Mon, Nov 4, 2013 04:25 PM
To:  "KaShining"<mail2shine at qq.com>; 
Cc:  "pypy-dev"<pypy-dev at python.org>; 
Subject:  Re: [pypy-dev] pypy about c-extension



Hi KaShining,

You seem to be mixing CPython and PyPy.  If you use "python setup.py",
meaning CPython, then you make a .so that cannot be imported on PyPy.
You need "pypy setup.py".

But please also consider William's comment.

Armin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20131104/391b7550/attachment.html>


More information about the pypy-dev mailing list