- Sep 13, 2017
-
-
Joseph Weston authored
This reverts commit 1e6c0860, reversing changes made to 2c5da944. The changes to Kwant's Lapack wrappers depend on features from Scipy 0.16, so it cannot be merged into stable branch, which depends on Scipy 0.14.
-
- Sep 12, 2017
-
-
Joseph Weston authored
We use Cython's import mechanism to use the the same lapack used by Scipy, so we no longer need to explicitly link against lapack or blas.
-
- Jul 25, 2017
-
-
Christoph Groth authored
I assume that most people encounter the tutorial example scripts by reading the documentation, and not by viewing the tutorial subdirectory of a checked-out Kwant source. That's the motivation for moving all the manipulations of tutorial scripts from setup.py to doc/Makefile. Previously, a successful 'make html' would require a preceding execution of 'setup.py build_tut'. Now, a simple 'make html' is enough. While at it, I reorganized where the example scripts and their outputs are stored. Everything is now in 'doc/source/code' with its three subdirectories 'download' (to be shown to readers), 'include' (with include markers), and 'figure' (figure generation & figures). This organization is clearer and also makes the generation of figures separate from the tutorial.
-
- Jul 20, 2017
-
-
Christoph Groth authored
lowercase FAQ.rst, FAQ.py, etc., give meaningful names to labels, and stop building an user-visible tutorial/faq.py
-
- May 24, 2017
-
-
Christoph Groth authored
-
- May 23, 2017
-
-
Christoph Groth authored
-
- May 19, 2017
-
-
Christoph Groth authored
-
Joseph Weston authored
Our baseline is Debian stable (Jessie) where possible. The only dependency that cannot be satisfied is sympy; Debian stable does not have a Python 3 package for this. We set the required sympy version to that present in Ubuntu 16.04 LTS.
-
- May 11, 2017
-
-
Anton Akhmerov authored
-
- May 04, 2017
-
-
Bas Nijholt authored
-
- Apr 25, 2017
-
-
Christoph Groth authored
-
- Apr 12, 2017
-
-
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.
-
- Mar 14, 2017
-
-
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).
-
- Feb 02, 2017
-
-
Bas Nijholt authored
-
- Jan 16, 2017
-
-
Anton Akhmerov authored
This reverts commit e34b4b73.
-
- Jan 15, 2017
-
-
Bas Nijholt authored
-
- Dec 20, 2016
-
-
Christoph Groth authored
It has the same problems as setup_requires.
-
Christoph Groth authored
-
Christoph Groth authored
Packages that are mentionned there are installed in a way that bypasses pip: https://pip.pypa.io/en/stable/user_guide/?highlight=setup_requires#installation-bundles
-
Christoph Groth authored
These prefixes were visible, for example when invoking "./setup.py --help build".
-
- Nov 14, 2016
-
-
Christoph Groth authored
Before we used the include_dir argument to setup(), but this caused problems: kwant/kwant#48
-
- Nov 03, 2016
-
-
Christoph Groth authored
Commit a8b0463e turned out to be a bad idea: unlike on Debian, on many platforms the numpy headers are not available in the default include path.
-
- Nov 02, 2016
-
-
Viacheslav Ostroukh authored
1. Now can be compiled without MUMPS (previously exception was thrown) 2. Gives sensible error message for Git install, but without installed Cython.
-
- Oct 30, 2016
-
-
Anton Akhmerov authored
-
- Oct 25, 2016
-
-
Christoph Groth authored
-
Christoph Groth authored
With the reorganization of setup.py, most constants are now used in a single place. It is clearer and simpler to have them there.
-
Christoph Groth authored
The CYTHON_TRACE macro can be now set in the build.conf file.
-
Christoph Groth authored
All C extensions are now treated on equal footing and can be configured in "build.conf". All the options known by Extension may be set now for any extension individually and for all of them together (using the [DEFAULT] section).
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
This reduces the number of global variables and makes the code easier to understand.
-
Christoph Groth authored
-
Christoph Groth authored
The removed code predates "build.conf" and should not be necessary on most (all?) platforms. Should numpy be missing in the include path, it can be added using "build.conf". If this change turns out to cause problems, we can always revert it.
-
Christoph Groth authored
-
- Sep 09, 2016
-
-
Christoph Groth authored
-
- Aug 04, 2016
-
-
Joseph Weston authored
-
Joseph Weston authored
-
- Jun 04, 2016
-
-
Anton Akhmerov authored
-
- Dec 11, 2015
-
-
Christoph Groth authored
-