From 598556d6f76098527079c455c843bded094d10ba Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sat, 11 May 2013 08:41:30 +0200 Subject: [PATCH] Add version and version_info for pycairo compat Possible fix for #10 --- cairocffi/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cairocffi/__init__.py b/cairocffi/__init__.py index a4a3f29..0f85963 100644 --- a/cairocffi/__init__.py +++ b/cairocffi/__init__.py @@ -17,7 +17,10 @@ from .compat import FileNotFoundError -VERSION = '0.4.2' +VERSION = '0.4.3' +# pycairo compat: +version = VERSION +version_info = version.split('.') def dlopen(ffi, *names):