Skip to content
Snippets Groups Projects
  1. May 23, 2017
  2. May 19, 2017
  3. May 11, 2017
  4. May 04, 2017
  5. Apr 25, 2017
  6. Apr 12, 2017
    • Christoph Groth's avatar
      move ensure_python() from setup.py into Kwant and use it · 874b6c29
      Christoph Groth authored
      This allows to provide a helpful error message when someone tries to
      import Kwant with Python 2.
      
      Note that I moved the version code into a module of its own:
      kwant.version.  The rationale is to separate this code from unrelated
      stuff in kwant._common that requires various external libs.  The
      kwant.version module should work on its own without any third-party
      libraries.
      874b6c29
  7. Mar 14, 2017
    • Joseph Weston's avatar
      fix discretizer packaging and optional testing · 7cb76722
      Joseph Weston authored
      Previously the testing/importing 'continuum' would fail if sympy was not
      installed. Now we do the following:
      
          * add sympy as an optional dependency in 'extras_require'
          * force pytest to ignore tests in packages that have uninstalled
            dependencies by defining a hook in 'conftest.py'
          * use the 'class as a module' hack when importing 'continuum'.
            When sympy is not installed the continuum module will be replaced
            with an instance of 'ExtensionUnavailable' that will raise a runtime
            error on attribute access.
          * no warning is raised if sympy is not installed (it is an
            optional dependency).
      7cb76722
  8. Feb 02, 2017
  9. Jan 16, 2017
  10. Jan 15, 2017
  11. Dec 20, 2016
  12. Nov 14, 2016
  13. Nov 03, 2016
  14. Nov 02, 2016
  15. Oct 30, 2016
  16. Oct 25, 2016
  17. Sep 09, 2016
  18. Aug 04, 2016
  19. Jun 04, 2016
  20. Dec 11, 2015
  21. Dec 09, 2015
  22. Dec 08, 2015
Loading