Commit 1534a936 authored by Martin Bauer's avatar Martin Bauer
Browse files

Cleaned up deployment & install

- moved Dockerfiles into separate directory
- tests for minimal setup on ubuntu & conda
- adapted setup scripts to correctly handle dependencies
- new conda environment files for users and developers
parent 0cdb8981
import pystencils.sympy_gmpy_bug_workaround
from pystencils.field import Field, FieldType
from pystencils.data_types import TypedSymbol
from pystencils.slicing import make_slice
# Disable gmpy backend until this bug is resolved if joblib serialize
# See
import os
import warnings
os.environ['MPMATH_NOGMPY'] = '1'
import mpmath.libmp
# In case the user has imported sympy first, then pystencils
if mpmath.libmp.BACKEND == 'gmpy':
warnings.warn("You are using the gmpy backend. You might encounter an error 'argument is not an mpz sympy'."
"This is due to a known bug in sympy/gmpy library. "
"To prevent this, import pystencils first then sympy or set the environment variable "
except ImportError:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment