
On Mon, Jul 20, 2009 at 5:11 AM, Antonio Cuni <anto.cuni@gmail.com> wrote:
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#installa...
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
I don't know how I missed that, thanks! I will do a fresh checkout and build from it tonight. -- Leonardo Santagada