Skip to content

Commit

Permalink
Add library version variable and increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaRazero committed Nov 14, 2020
1 parent 66d9c0a commit 56f1b61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lexer2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
All rights reserved.
'''

__version__ = "0.9.2"

# ***************************************************************************************

from . import excs
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,24 @@ def ReadTxt(fName: str):

# ***************************************************************************************

import lexer2

setuptools.setup(
name="liblexer2-python3",
version = "0.9.1",
version=lexer2.__version__,

packages=setuptools.find_packages(),
python_requires='>=3.6',

author="DeltaRazero",
author_email="[email protected]",
license = "zlib",
license="zlib",

description="Flexible, ruleset-based tokenizer using regex.",
long_description=ReadTxt("./README.md"),
long_description_content_type="text/markdown",

keywords = "lexer tokenizer sphinx",
keywords="lexer tokenizer sphinx",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
Expand Down

0 comments on commit 56f1b61

Please sign in to comment.