Skip to content
Snippets Groups Projects
Commit d1cbbde6 authored by Markus Holzer's avatar Markus Holzer
Browse files

Added version number to pystencils

parent cf0dd636
No related branches found
No related tags found
1 merge request!197Added version number to pystencils
"""Module to generate stencil kernels in C or CUDA using sympy expressions and call them as Python functions""" """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 sympy_gmpy_bug_workaround # NOQA
from . import fd from . import fd
from . import stencil as stencil from . import stencil as stencil
...@@ -21,6 +22,8 @@ try: ...@@ -21,6 +22,8 @@ try:
except ImportError: except ImportError:
pass pass
__version__ = get_distribution('pystencils').version
__all__ = ['Field', 'FieldType', 'fields', __all__ = ['Field', 'FieldType', 'fields',
'TypedSymbol', 'TypedSymbol',
'make_slice', 'make_slice',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment