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

Clean up

parent e36c40c7
No related branches found
No related tags found
1 merge request!66Fix package requires
try:
import pyximport
pyximport.install(language_level=3)
from lbmpy.phasefield.simplex_projection import simplex_projection_2d # NOQA
except:
import pyximport
pyximport.install(language_level=3)
from lbmpy.phasefield.simplex_projection import simplex_projection_2d # NOQA
except ImportError:
try:
from lbmpy.phasefield.simplex_projection import simplex_projection_2d # NOQA
except:
raise ImportError("neither pyximport nor binary module available")
except ImportError:
raise ImportError("neither pyximport nor binary module simplex_projection_2d available.")
import sympy as sp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment