<br><br><div class="gmail_quote">On Mon, Jul 20, 2009 at 5:11 AM, Antonio Cuni <span dir="ltr">&lt;<a href="mailto:anto.cuni@gmail.com">anto.cuni@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Leonardo,<div class="im"><br>
<br>
Leonardo Santagada wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to make binaries to pypy and distribute but I don&#39;t know how.  The biggest problem is that I didn&#39;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:<br>

<br>
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).<br>
</blockquote>
<br></div>
look at this:<br>
<a href="http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#installation" target="_blank">http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#installation</a><br>
<br>
basically, you could do something like this:<br>
<br>
/opt/pypy/bin/pypy-c<br>
/opt/pypy/lib-python/...<br>
/opt/pypy/pypy/lib/...<br>
<br>
or like this:<br>
<br>
/usr/local/bin/pypy<br>
/usr/local/share/pypy-1.1/lib-python/...<br>
/usr/local/share/pypy-1.1/pypy/lib/...<br>
<br>
ciao,<br>
Anto<br>
</blockquote></div><div><br></div>I don&#39;t know how I missed that, thanks! I will do a fresh checkout and build from it tonight.<br><br>-- <br>Leonardo Santagada<br>