[pypy-dev] How to embed PyPy when there's no filesystem?

Armin Rigo arigo at tunes.org
Thu Apr 30 09:48:39 CEST 2015


Hi Tom,

On 30 April 2015 at 00:21,  <tom at twhanson.com> wrote:
> 1) Am I correct in assuming that these are imports?

Yes.

> 2) Can these be eliminated?  These opens are problematic in the absence of a
> file system.

Try running pypy with the -s option.  Likely, it doesn't remove them
all; you have to provide the remaining modules manually, e.g. by
embedding either the .py or the .pyc in the controller process.


A bientôt,

Armin.


More information about the pypy-dev mailing list