# [pypy-dev] pypy-c and JIT

Armin Rigo arigo at tunes.org
Sun Oct 21 12:53:03 CEST 2007

Hi Raj,

On Tue, Oct 16, 2007 at 11:30:56AM -0500, Raj wrote:
> Well, for my previous problem, pypy-c on windows worked only when I ran
> it in the installation directory, so I did copped out and ran my programs
> by copying them over. Didn't really find a proper solution to the problem,
> but I assume it involves setting some path variables.

looked around (didn't test it on Windows myself though).  The zip
contains all the necessary standard library .py files, and I think that
the paths you get in the zip are correct.  In other words, if you run
pypy-1.0.0\pypy-c.exe, it should pick up its stdlib at
pypy-1.0.0\share\pypy-1.0\lib-python and
pypy-1.0.0\share\pypy-1.0\pypy\lib.  Of course it doesn't work if you
try to move the .exe files elsewhere without also moving the 'share'
subdirectory there.  However, as I said this is untested, so something
might be going wrong.

A bientot,

Armin.