On Sat, May 23, 2009 at 12:15 PM, Pavel Panchekha
<[email protected]> wrote:
>
> I've written a rather large application with ply as the parser, and it
> works pretty well. The problem now is that I now want to redistribute
> my application, and thus I want to ship precompiled parser tables.
> Now, I'm currently compiling the optimized-mode lexer and parser
> tables, and I specify what directory the tables are supposed to be.
> Now, when I install ply to /usr/local, the program works, but
> unfortunately recompiles the tables every time. This isn't too great,
> because this can take a few seconds.
>
> Now, if I make the directory that I've specified as outputdir world-
> writable (0777), ply will put tables there, but will constantly
> recompile them. So it can find the files there, but it isn't using
> them.
>
> Do I need to copy over .pyc files over, too? Do I need to pass magic
> arguments to ply?
>

I think this has been covered before once or twice on this list.  Try
this thread, as well as another thread or two linked from within it:

http://groups.google.com/group/ply-hack/browse_frm/thread/925c8062a9d0513d

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to