diff --git a/pytesseract/__init__.py b/pytesseract/__init__.py index a516082..499abd1 100644 --- a/pytesseract/__init__.py +++ b/pytesseract/__init__.py @@ -13,3 +13,6 @@ from .pytesseract import TesseractError from .pytesseract import TesseractNotFoundError from .pytesseract import TSVNotSupported + + +__version__ = '0.3.7' diff --git a/setup.cfg b/setup.cfg index 5f54576..bac05f3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pytesseract -version = 0.3.7 +version = attr: pytesseract.__version__ author = Samuel Hoffstaetter author_email = samuel@hoffstaetter.com maintainer = Matthias Lee diff --git a/setup.py b/setup.py index 6068493..b024da8 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ from setuptools import setup + setup()