Skip to content

fix discretizer packaging

closes #95 (closed).

  • only continuum is imported into the root (kwant) namespace. kwant.continuum.discretize is fine.
  • continuum is not imported into the root namespace if sympy is not installed. A warning is not raised (this is annoying enough for matplotlib when running kwant on a headless machine).
  • sympy is listed in extras_require.
  • continuum.tests includes import guards to skip all tests if sympy is not installed.

Merge request reports