Write parsetab file to /tmp instead of the plyproto directory, and bump
version
diff --git a/plyproto/parser.py b/plyproto/parser.py
index bd35528..d0b3e4a 100755
--- a/plyproto/parser.py
+++ b/plyproto/parser.py
@@ -489,7 +489,7 @@
def __init__(self):
self.lexer = lex.lex(module=ProtobufLexer())#, optimize=1)
- self.parser = yacc.yacc(module=ProtobufParser(), start='goal', debug=0)#optimize=1)
+ self.parser = yacc.yacc(module=ProtobufParser(), start='goal', debug=0, outputdir='/tmp')#optimize=1)
def tokenize_string(self, code):
self.lexer.input(code)
diff --git a/setup.py b/setup.py
index 785df05..7cb8ee1 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from distutils.core import setup
setup(name='plyprotobuf',
- version='1.1',
+ version='1.2',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',