diff --git a/setup.py b/setup.py index aa85d46..d3a823c 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup(name = "sly", SLY is an implementation of lex and yacc for Python 3. """, license="""BSD""", - version = "0.3", + version = "0.4", author = "David Beazley", author_email = "dave@dabeaz.com", maintainer = "David Beazley", diff --git a/sly/__init__.py b/sly/__init__.py index 8140ac1..3c1e708 100644 --- a/sly/__init__.py +++ b/sly/__init__.py @@ -2,4 +2,5 @@ from .lex import * from .yacc import * +__version__ = "0.4" __all__ = [ *lex.__all__, *yacc.__all__ ] diff --git a/sly/lex.py b/sly/lex.py index 8cd19e6..e6c8ac3 100644 --- a/sly/lex.py +++ b/sly/lex.py @@ -31,7 +31,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ----------------------------------------------------------------------------- -__version__ = '0.3' __all__ = ['Lexer', 'LexerStateChange'] import re diff --git a/sly/yacc.py b/sly/yacc.py index 7fe91e2..34c236e 100644 --- a/sly/yacc.py +++ b/sly/yacc.py @@ -35,7 +35,6 @@ import sys import inspect from collections import OrderedDict, defaultdict -__version__ = '0.3' __all__ = [ 'Parser' ] class YaccError(Exception):