Skip to content

Commit

Permalink
bumped version to v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfz committed Jun 26, 2018
1 parent 38abac9 commit d8fc90b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def version_to_int(version):
# Split the groups on ".", take only the first one, and print each group with leading 0 if needed
# To be safe, also handle cases where an extra group is added to the version string, or if one or two groups
# are dropped.
version_str = "{:02}{:02}{:02}".format(*map(int, (version.split('.') + [0]*2)[:3]))
version_groups = (version.split('.') + [0, 0])[:3]
version_str = "{:02}{:02}{:02}".format(*map(int, version_groups))
return int(version_str, 16)


Expand Down
2 changes: 1 addition & 1 deletion tesserocr.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tesseract 3.04.00
['eng', 'osd', 'equ'])
"""

__version__ = '2.2.2'
__version__ = '2.3.0'

import os
from io import BytesIO
Expand Down

0 comments on commit d8fc90b

Please sign in to comment.