[pypy-dev] targetreallynopstandalone.py => TypeError: string vs LocalPath

Stefan Drees stefan at drees.name
Wed Mar 21 09:26:33 CET 2012


Thanks a lot Armin,

Am 20.03.12 18:57, schrieb Armin Rigo:
> Hi Peter,
>
> On Tue, Mar 20, 2012 at 15:17, Peter Cock<p.j.a.cock at googlemail.com>  wrote:
>>> You don't need it: just run translate.py targetrichards.py
>>> and you'll get a targetrichards-c executable.
>>
>> Doing that I do get a testing_1.dylib file (Mach-O 64-bit
>> dynamically linked shared library x86_64) under a temp
>> folder, but no sign of a targetrichards-c executable.
>
> Ah, I see.  That's because targetrichards.py doesn't create a
> stand-alone executable.  The --run option is maybe useful in this
> case, but that case itself is kind of deprecated.  You probably want
> targetrpystonedalone, which creates a stand-alone executable, with all
> optimizations; it runs rpystone by default, or richards if executed
> with the command-line argument "r".  (Yes, I know it's obscure.)
> ...

I also searched for a non-existant targetrichards-c.
And thanks for the hint on the "r" argument for targetrpystonedalone-c 
reading the source helps a lot, as "rich" and "pyst" also work as 
arguments ;-)

All the best,
Stefan.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2310 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120321/7a68a7f4/attachment-0001.bin>


More information about the pypy-dev mailing list