Hi Dave,

Excellent!  Just the sort of thing I was looking for.

The approach I'll probably take then is to download runtime, unpack,  
and 'ln -s' to the runtime egg file.

Thanks!

Andrew.

On 29-Sep-09, at 8:45 AM, Dave Dutcher wrote:

>> -----Original Message-----
>> From: Andrew Plumb
>> Subject: [antlr-interest] Referencing/Using antlr3 python
>> runtime directlyinstead of via python setup.py install?
>>
>> Hi Everyone,
>>
>> Does anyone have any examples of how to reference the antlr3
>> python runtime code directly from a python script calling an
>> antlr-generated parser?
>>
>> It doesn't have to be complex (setting an environment
>> variable will do if there's a way), I'm just looking for
>> something that works so I can exercise my own antlr parser
>> dabblings.  I want to avoid touching system python defaults
>> so I don't disrupt others, run on systems I don't necessarily
>> have sudo/root access to, and be able to quickly test across
>> multiple platforms (Linux, Solaris and Mac OS X).
>
> You don't actually have to run python setup.py install to use the  
> rutime.
> You can just take the antlr3 file out of the runtime egg and put it  
> in your
> local directory or anywhere on your python path.
>
> Dave
>
>
>

--

"The future is already here.  It's just not very evenly distributed"  
-- William Gibson




List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" 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/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to