- 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
-
- Dec 09, 2015
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
- Dec 08, 2015
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- Nov 10, 2015
-
-
Christoph Groth authored
-