Declare our __version__ properly

This commit is contained in:
James R. Barlow
2017-11-01 01:49:51 -07:00
parent 4df716f0e8
commit 44b5a18462
+3 -2
View File
@@ -4,6 +4,7 @@ import pkg_resources
PROGRAM_NAME = 'ocrmypdf'
VERSION = pkg_resources.get_distribution('ocrmypdf').version
# Official PEP 396
__version__ = pkg_resources.get_distribution('ocrmypdf').version
VERSION = __version__