From 32730858fd15fffdfa8eca9a8572171b84f8a6d8 Mon Sep 17 00:00:00 2001 From: Max Peterson Date: Tue, 6 Sep 2011 12:03:02 +0100 Subject: Bumped version to 0.1.1 --- setup.py | 1 + wkhtmltopdf/__init__.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 0300ef7..c7dcb7f 100644 --- a/setup.py +++ b/setup.py @@ -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__)) -- cgit v1.2.3