[pypy-dev] How to make a pypy distribution?
Antonio Cuni
anto.cuni at gmail.com
Mon Jul 20 10:11:21 CEST 2009
Hi Leonardo,
Leonardo Santagada wrote:
> I want to make binaries to pypy and distribute but I don't know how.
> The biggest problem is that I didn't find were I can change the 2
> hardcoded sys.path entries (lib python and modified lib python). I
> would like it to look to a relative dir from where pypy-c is, or at
> least be able to hardcode it to something sensible (not my wc dir).
> Here is the scenario that I want to address:
>
> A self contained pypy, with pypy-c in pypy/bin and libs in pypy/lib or
> maybe pypy/lib/pypy (so instead of on its on directory it can be
> easily moved to /usr/local for example).
look at this:
http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#installation
basically, you could do something like this:
/opt/pypy/bin/pypy-c
/opt/pypy/lib-python/...
/opt/pypy/pypy/lib/...
or like this:
/usr/local/bin/pypy
/usr/local/share/pypy-1.1/lib-python/...
/usr/local/share/pypy-1.1/pypy/lib/...
ciao,
Anto
More information about the Pypy-dev
mailing list