diff options
-rw-r--r-- | setup.py | 1 | ||||
-rw-r--r-- | wkhtmltopdf/__init__.py | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,6 @@ from setuptools import setup, find_packages +from wkhtmltopdf import get_version setup( name = "django-wkhtmltopdf", packages = find_packages(), diff --git a/wkhtmltopdf/__init__.py b/wkhtmltopdf/__init__.py index 16281fe..f6d2a9d 100644 --- a/wkhtmltopdf/__init__.py +++ b/wkhtmltopdf/__init__.py @@ -1 +1,4 @@ from .utils import * +__version__ = (0, 1, 1) +def get_version(): + return '.'.join(map(str, __version__)) |