diff --git a/pystencils/__init__.py b/pystencils/__init__.py
index 18679382f0014ba12844c72fa965a3ad4fe6e196..e953e6519ec185f9a07ede76712dd35f8db7a391 100644
--- a/pystencils/__init__.py
+++ b/pystencils/__init__.py
@@ -1,4 +1,5 @@
 """Module to generate stencil kernels in C or CUDA using sympy expressions and call them as Python functions"""
+from pkg_resources import get_distribution
 from . import sympy_gmpy_bug_workaround  # NOQA
 from . import fd
 from . import stencil as stencil
@@ -21,6 +22,8 @@ try:
 except ImportError:
     pass
 
+__version__ = get_distribution('pystencils').version
+
 __all__ = ['Field', 'FieldType', 'fields',
            'TypedSymbol',
            'make_slice',