Fix for broken antlr3 in stand-alone install
Restored and updated the permanent symlinks and updated setup.cfg to facilitate proper standalone installation of antlr3 w congress. Change-Id: I7b603bcf3785374d5e83d0e5a98669dbd93d8cd9
This commit is contained in:
parent
5e2c7cde59
commit
c90410f904
|
@ -0,0 +1 @@
|
|||
../../thirdparty/antlr3-antlr-3.5/runtime/Python/antlr3/
|
|
@ -0,0 +1 @@
|
|||
../../thirdparty/antlr3-antlr-3.5/runtime/Python3/antlr3/
|
|
@ -40,12 +40,12 @@ _congressDir = os.path.dirname(
|
|||
os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
if six.PY2:
|
||||
sys.path.append(_congressDir +
|
||||
"/thirdparty/antlr3-antlr-3.5/runtime/Python/")
|
||||
"/antlr3runtime/Python/")
|
||||
from congress.datalog.Python2 import CongressLexer
|
||||
from congress.datalog.Python2 import CongressParser
|
||||
else:
|
||||
sys.path.append(_congressDir +
|
||||
"/thirdparty/antlr3-antlr-3.5/runtime/Python3/")
|
||||
"/antlr3runtime/Python3/")
|
||||
from congress.datalog.Python3 import CongressLexer
|
||||
from congress.datalog.Python3 import CongressParser
|
||||
import antlr3
|
||||
|
|
Loading…
Reference in New Issue