diff --git a/doc/Makefile b/doc/Makefile
index 23e96c7a221a472d35f152af857cdbfbf4b2004c..c3529688942efc29effcf7c574d861e211ff0c5c 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -2,10 +2,10 @@
 
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 # You can set these variables from the command line.
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 0246a351bb122baf0a3ba3af7e5a176dfb6240d7..15eefe991002e1a0b68ead4b30f6a683482fe591 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -43,7 +43,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Kwant'
-copyright = u'2011-2013, C. W. Groth (CEA), M. Wimmer, A. R. Akhmerov, X. Waintal (CEA), and others'
+copyright = u'2011-2015, C. W. Groth (CEA), M. Wimmer, A. R. Akhmerov, X. Waintal (CEA), and others'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
diff --git a/doc/sphinxext/kwantdoc.py b/doc/sphinxext/kwantdoc.py
index d3c4487e8bbd6f830d2cec676924b8ec1536c56a..bc59e2cae0c8dbc65f50f5c3fd19c3f6339f48e9 100644
--- a/doc/sphinxext/kwantdoc.py
+++ b/doc/sphinxext/kwantdoc.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Simple sphinx extension that allows for a section that can be
diff --git a/kwant/__init__.py b/kwant/__init__.py
index 3f9ea7dba1c7540f4123cd2204dc752ebf7b7d7f..59bd4e0f1b9b631c4e46c27828caeafc187b219b 100644
--- a/kwant/__init__.py
+++ b/kwant/__init__.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = []
diff --git a/kwant/_common.py b/kwant/_common.py
index 9a8378eba74817891f6abdcccc5cd53de0215c82..e050f2edef9923a1aec16cbb46b1a2bb1fe767ff 100644
--- a/kwant/_common.py
+++ b/kwant/_common.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2015 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import subprocess
diff --git a/kwant/_system.pyx b/kwant/_system.pyx
index d538b09ba1bbc2593bdd36f7a8757fcb7e9306a3..dc3e665dd3ef9505cacb852226943ca946e82e62 100644
--- a/kwant/_system.pyx
+++ b/kwant/_system.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 cimport cython
diff --git a/kwant/builder.py b/kwant/builder.py
index 5dedfefb6e6702e80d9e63b7aa39e1c537572835..c594f7202322e492abfddd78f22f6d85ce09e341 100644
--- a/kwant/builder.py
+++ b/kwant/builder.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2015 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/digest.py b/kwant/digest.py
index 2933138bbb1ed7d1f90c2cf556e21d9d5845a3db..8daac5cc6483aad90f12d9788bb75a7235670ec2 100644
--- a/kwant/digest.py
+++ b/kwant/digest.py
@@ -1,9 +1,9 @@
-# COPYRIGHT 2013 Kwant authors.
+# Copyright 2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Random-access random numbers
diff --git a/kwant/graph/__init__.py b/kwant/graph/__init__.py
index 76cd6c0d8d80d8e57748ff59a9f6c2405291f0e7..dc9463446aae5d3e7152d171442c0ea368838036 100644
--- a/kwant/graph/__init__.py
+++ b/kwant/graph/__init__.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Functionality for graphs"""
diff --git a/kwant/graph/c_scotch.pxd b/kwant/graph/c_scotch.pxd
index 5221781f9238b968fbf8c67fcca9af83103330f4..4920d31ad401af7405ef81a119fcd1286c871137 100644
--- a/kwant/graph/c_scotch.pxd
+++ b/kwant/graph/c_scotch.pxd
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from libc.stdio cimport FILE
diff --git a/kwant/graph/c_slicer.pxd b/kwant/graph/c_slicer.pxd
index 676d1129caa0e791e6647c76400c04c363fe831b..67a45c0490ce4133107338233fc49b608498ae91 100644
--- a/kwant/graph/c_slicer.pxd
+++ b/kwant/graph/c_slicer.pxd
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from defs cimport gint
diff --git a/kwant/graph/c_slicer/bucket_list.h b/kwant/graph/c_slicer/bucket_list.h
index 8cdb7d75b70cf1093c7c173f76afd940c274275a..360dd6138e39de022cd7b67e59f1629cff96c86d 100644
--- a/kwant/graph/c_slicer/bucket_list.h
+++ b/kwant/graph/c_slicer/bucket_list.h
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 #ifndef BUCKET_LIST_H
diff --git a/kwant/graph/c_slicer/graphwrap.h b/kwant/graph/c_slicer/graphwrap.h
index 2b2efb095d8569397065c21e14a2973f9fb6a1bf..67442b0257c3ce0605c20f35d9ebfdde67fafff3 100644
--- a/kwant/graph/c_slicer/graphwrap.h
+++ b/kwant/graph/c_slicer/graphwrap.h
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 //-*-C++-*-
diff --git a/kwant/graph/c_slicer/partitioner.cc b/kwant/graph/c_slicer/partitioner.cc
index cea1ab5ec2495128c14cff88b09d4f16c584ab82..394cb62702fadd5258e9a3ffcde0a26cde373103 100644
--- a/kwant/graph/c_slicer/partitioner.cc
+++ b/kwant/graph/c_slicer/partitioner.cc
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 #include "partitioner.h"
diff --git a/kwant/graph/c_slicer/partitioner.h b/kwant/graph/c_slicer/partitioner.h
index b0438ce813f5d1a5bfbb08d2c00dceed61c9d86d..f8cd3a202d179726b1c94d06202998bb9537bad9 100644
--- a/kwant/graph/c_slicer/partitioner.h
+++ b/kwant/graph/c_slicer/partitioner.h
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 //-*-C++-*-
diff --git a/kwant/graph/c_slicer/slicer.cc b/kwant/graph/c_slicer/slicer.cc
index eb28b937abf31f124c1150b1eb3e9cd47acaa421..7b190d1affa12aeed2680049bce33cb1e2c47371 100644
--- a/kwant/graph/c_slicer/slicer.cc
+++ b/kwant/graph/c_slicer/slicer.cc
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 #include <algorithm>
diff --git a/kwant/graph/c_slicer/slicer.h b/kwant/graph/c_slicer/slicer.h
index a2e92f8716829365a3857620c8c81c1ddfbaf344..e9c422811af55567802608721f97eb57b7bf6f8f 100644
--- a/kwant/graph/c_slicer/slicer.h
+++ b/kwant/graph/c_slicer/slicer.h
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 struct Slicing
diff --git a/kwant/graph/core.pxd b/kwant/graph/core.pxd
index 5eb7507df3e7b8326c74ff91a4f374e535977ab8..d3f7fd097357666c1bf1fff304fc03e4950d0d68 100644
--- a/kwant/graph/core.pxd
+++ b/kwant/graph/core.pxd
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 cimport numpy as np
diff --git a/kwant/graph/core.pyx b/kwant/graph/core.pyx
index e6557bbde467ac98c1fed026d3ee3a3d6dd15de0..d76bb36f8af3e75eb5839bd344efa62801f6bd7c 100644
--- a/kwant/graph/core.pyx
+++ b/kwant/graph/core.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Directed graphs optimized for storage and runtime efficiency."""
diff --git a/kwant/graph/defs.h b/kwant/graph/defs.h
index 23f243c8bd4351f04c1d6fc1ea39a976bb2c47c1..a328fbc7f79b64a75215bfaffdbc7e9e0fac3868 100644
--- a/kwant/graph/defs.h
+++ b/kwant/graph/defs.h
@@ -1,9 +1,9 @@
 // Copyright 2011-2013 Kwant authors.
 //
-// This file is part of Kwant.  It is subject to the license terms in the
-// LICENSE file found in the top-level directory of this distribution and at
+// This file is part of Kwant.  It is subject to the license terms in the file
+// LICENSE.rst found in the top-level directory of this distribution and at
 // http://kwant-project.org/license.  A list of Kwant authors can be found in
-// the AUTHORS file at the top-level directory of this distribution and at
+// the file AUTHORS.rst at the top-level directory of this distribution and at
 // http://kwant-project.org/authors.
 
 #ifndef DEFS_H
diff --git a/kwant/graph/defs.pxd b/kwant/graph/defs.pxd
index 9bb3aace387c15d966c341f0493b2174affbbd44..83aed41d2946d719b162ec33a1dd1b7024c8f758 100644
--- a/kwant/graph/defs.pxd
+++ b/kwant/graph/defs.pxd
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 cdef extern from "defs.h":
diff --git a/kwant/graph/defs.py b/kwant/graph/defs.py
index 077d41a65cdb944e31a8cc5ebee62f90e3bc5eef..f9c44423686adb45510a0ea3b080c71ce6075a2c 100644
--- a/kwant/graph/defs.py
+++ b/kwant/graph/defs.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['gint_dtype']
diff --git a/kwant/graph/dissection.py b/kwant/graph/dissection.py
index 45aa2efcc3ae5c3ef739c15b6943f6db725df6ff..4c048fb4adf35a0a39a8856a3f71fc06774aff3e 100644
--- a/kwant/graph/dissection.py
+++ b/kwant/graph/dissection.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Routines to compute nested dissections of graphs"""
diff --git a/kwant/graph/scotch.pyx b/kwant/graph/scotch.pyx
index 2fe67196381ef76d5aa0b02797a43fbcd7f43b10..b2ad0559143bb4695ddc87ecc7a7fc68af18368d 100644
--- a/kwant/graph/scotch.pyx
+++ b/kwant/graph/scotch.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Wrapper for the graph library SCOTCH"""
diff --git a/kwant/graph/slicer.pyx b/kwant/graph/slicer.pyx
index 144719203c85cb02490087501c829938f8707aae..68c78f4b4a9300b1c84da41043729976ff0357d4 100644
--- a/kwant/graph/slicer.pyx
+++ b/kwant/graph/slicer.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/graph/tests/test_core.py b/kwant/graph/tests/test_core.py
index 113f90ac88a8b55d087837b1eeca305e3aa810fc..967ff6d8ad95043e3515a2d8e6e340f794fa947c 100644
--- a/kwant/graph/tests/test_core.py
+++ b/kwant/graph/tests/test_core.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from StringIO import StringIO
diff --git a/kwant/graph/tests/test_dissection.py b/kwant/graph/tests/test_dissection.py
index 780bd4f2534cc96992bf5d5c9408193e7c78f854..cb8fc8f7f1e0209a3eef171b54974fcaeab67516 100644
--- a/kwant/graph/tests/test_dissection.py
+++ b/kwant/graph/tests/test_dissection.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from nose.tools import assert_true
diff --git a/kwant/graph/tests/test_scotch.py b/kwant/graph/tests/test_scotch.py
index 4f0ff2255ce8c9efe1e0097a255815a5e05240ac..222ff05f5f9e0b2b1e6a6eaa01c9b217801cc994 100644
--- a/kwant/graph/tests/test_scotch.py
+++ b/kwant/graph/tests/test_scotch.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from nose.tools import assert_true
diff --git a/kwant/graph/tests/test_slicer.py b/kwant/graph/tests/test_slicer.py
index cc2699cc8ad2f9bad8dec75120db6fdfcb55f85c..29e549cbdef4c04e568a6eecbea44e246a046d2d 100644
--- a/kwant/graph/tests/test_slicer.py
+++ b/kwant/graph/tests/test_slicer.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import kwant
diff --git a/kwant/graph/tests/test_utils.py b/kwant/graph/tests/test_utils.py
index cdd468e137d2bbe95bf43e79d9856dc120c509e7..bea187e5f38344e1407dba3ea277712806eaf67e 100644
--- a/kwant/graph/tests/test_utils.py
+++ b/kwant/graph/tests/test_utils.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/graph/utils.pyx b/kwant/graph/utils.pyx
index fd64fc6695aa527a1ce20126f0ca7394a4e89dfe..60fd3b9cfa7e4ff45c3ea373429c867a30c7a57d 100644
--- a/kwant/graph/utils.pyx
+++ b/kwant/graph/utils.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Utilities to modify compressed graphs"""
diff --git a/kwant/lattice.py b/kwant/lattice.py
index cbf700d079ca11fb3def36e4c66f5415033ec204..c741d8610154e9f1a6402b4d3911417cad0f6cd2 100644
--- a/kwant/lattice.py
+++ b/kwant/lattice.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/linalg/__init__.py b/kwant/linalg/__init__.py
index be50ed2492e0becd597c1b1fd21d5047d15e98c5..ad60f34fdde3fa5ca390b90a2ea7131204c3c161 100644
--- a/kwant/linalg/__init__.py
+++ b/kwant/linalg/__init__.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['lapack']
diff --git a/kwant/linalg/_mumps.pyx b/kwant/linalg/_mumps.pyx
index b80593203344b8a7f446fd312fb8d1262db67b4f..6d5aad67c2c53de2a68b0ae248a931140f21931f 100644
--- a/kwant/linalg/_mumps.pyx
+++ b/kwant/linalg/_mumps.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 cimport numpy as np
diff --git a/kwant/linalg/cmumps.pxd b/kwant/linalg/cmumps.pxd
index 0c530feaea6b93979f39bf004c324af54e439fc1..29785c1bee14df9da46bd4d5785061fc938969d9 100644
--- a/kwant/linalg/cmumps.pxd
+++ b/kwant/linalg/cmumps.pxd
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 cdef extern from "mumps_c_types.h":
diff --git a/kwant/linalg/cmumps.py b/kwant/linalg/cmumps.py
index 86baebacbe1c07d110203ac2ee84a08790101239..33babe0071f3b09fe4959815d9598f4efa69803f 100644
--- a/kwant/linalg/cmumps.py
+++ b/kwant/linalg/cmumps.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/linalg/decomp_ev.py b/kwant/linalg/decomp_ev.py
index 077b8fca29d7315483c3cf0e8934ca15f3c28a2a..bd92ce9335d2ba31edc4535f0a8a12a5828e2943 100644
--- a/kwant/linalg/decomp_ev.py
+++ b/kwant/linalg/decomp_ev.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['gen_eig']
diff --git a/kwant/linalg/decomp_lu.py b/kwant/linalg/decomp_lu.py
index db482b3ccc51bbd4d14f1acebdf25ca4c40bbfd8..65bc0fd723ebeb2b2695caf3b09bbae8c007a45d 100644
--- a/kwant/linalg/decomp_lu.py
+++ b/kwant/linalg/decomp_lu.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['lu_factor', 'lu_solve', 'rcond_from_lu']
diff --git a/kwant/linalg/decomp_schur.py b/kwant/linalg/decomp_schur.py
index ecd0deef3e4bc251349b72cbf270e14b1a9caff0..4accc17ff0f1643c9532ada85a29dfa08a2b67fa 100644
--- a/kwant/linalg/decomp_schur.py
+++ b/kwant/linalg/decomp_schur.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['schur', 'convert_r2c_schur', 'order_schur', 'evecs_from_schur',
diff --git a/kwant/linalg/f_lapack.pxd b/kwant/linalg/f_lapack.pxd
index 73b9a785cf219afd68ab318dfaf16415fb530dbe..1a0304af871c6bb75994eb0668389e0d6ad2b54d 100644
--- a/kwant/linalg/f_lapack.pxd
+++ b/kwant/linalg/f_lapack.pxd
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 ctypedef int l_int
diff --git a/kwant/linalg/f_lapack.py b/kwant/linalg/f_lapack.py
index f3ec59d735744e9c35ce010fdc970fbc722a916d..39b702b5394dafb773744dfa1d0faa05c17a419c 100644
--- a/kwant/linalg/f_lapack.py
+++ b/kwant/linalg/f_lapack.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['l_int_dtype', 'l_logical_dtype']
diff --git a/kwant/linalg/fortran_helpers.py b/kwant/linalg/fortran_helpers.py
index e8dae66a835aa39deb69165a320d61e2b6a62f03..2f82b26db9410d919981677692df5b7cfdec7b38 100644
--- a/kwant/linalg/fortran_helpers.py
+++ b/kwant/linalg/fortran_helpers.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/linalg/lapack.pyx b/kwant/linalg/lapack.pyx
index f08802208cf4ea6dadaa95da82a3c2b0b3878848..5ad31afc254a3b087307b6d1d77b724303487019 100644
--- a/kwant/linalg/lapack.pyx
+++ b/kwant/linalg/lapack.pyx
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Low-level access to LAPACK functions. """
diff --git a/kwant/linalg/lll.py b/kwant/linalg/lll.py
index 5093b843649c341289d13ee3ca9a78f676dbd75a..17b353ca11fea6f39487fc527af1ef3636d76ddc 100644
--- a/kwant/linalg/lll.py
+++ b/kwant/linalg/lll.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/linalg/mumps.py b/kwant/linalg/mumps.py
index a30f38b05ce7aa4a5e22863921840ee41cfcb15b..cd28860a17fb83145f91e290d1e5d3315913a337 100644
--- a/kwant/linalg/mumps.py
+++ b/kwant/linalg/mumps.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Interface to the MUMPS sparse solver library"""
diff --git a/kwant/linalg/tests/_test_utils.py b/kwant/linalg/tests/_test_utils.py
index c29afde7db0eb684f24c8dbcd0ab711824b5e132..8f76e8150f5b04ed8ae5435f6065460b4f09bd7c 100644
--- a/kwant/linalg/tests/_test_utils.py
+++ b/kwant/linalg/tests/_test_utils.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/linalg/tests/test_linalg.py b/kwant/linalg/tests/test_linalg.py
index af9917da3c65e26cfb243655e817dcfcc0c17b8a..f059580af1545f27123aa30af48ba7fb2740a778 100644
--- a/kwant/linalg/tests/test_linalg.py
+++ b/kwant/linalg/tests/test_linalg.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from kwant.linalg import (
diff --git a/kwant/linalg/tests/test_lll.py b/kwant/linalg/tests/test_lll.py
index 7461940382f0845cf73a64e94d98180a0c1aae54..e11627aee7cdd48da595de150a4fc8d3434b7d45 100644
--- a/kwant/linalg/tests/test_lll.py
+++ b/kwant/linalg/tests/test_lll.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/linalg/tests/test_mumps.py b/kwant/linalg/tests/test_mumps.py
index 597b24d35351038c38f7646a006e9d3cc4351de9..8991a7d2c4899e2783d94b0c07a758789709c3e3 100644
--- a/kwant/linalg/tests/test_mumps.py
+++ b/kwant/linalg/tests/test_mumps.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 try:
diff --git a/kwant/physics/__init__.py b/kwant/physics/__init__.py
index f438c9425b5c03acda16d984d38e5f21f6bfdd1a..1c463828c1133793242c7a31af708d204ef170eb 100644
--- a/kwant/physics/__init__.py
+++ b/kwant/physics/__init__.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Physics-related algorithms"""
diff --git a/kwant/physics/dispersion.py b/kwant/physics/dispersion.py
index 38f19f14dbba2df24ff8177e40e92ca0608a06c4..238f584cdc8237ecef88551db6f7955fe6e6806f 100644
--- a/kwant/physics/dispersion.py
+++ b/kwant/physics/dispersion.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import math
diff --git a/kwant/physics/leads.py b/kwant/physics/leads.py
index d8a69e7a0abeddb9757dde59f6d6420e75e713f0..586eaaed21ecd620400334a0ffe0351218a74a72 100644
--- a/kwant/physics/leads.py
+++ b/kwant/physics/leads.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/physics/noise.py b/kwant/physics/noise.py
index 4dc960002597874e1dc4e11231ad8e835e1a43d5..de8d1334d5c0491e76b7906f92ae65ad780f1585 100644
--- a/kwant/physics/noise.py
+++ b/kwant/physics/noise.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/physics/tests/test_dispersion.py b/kwant/physics/tests/test_dispersion.py
index 54a56ef0568c24a212595cdb598d5c3b404e81c8..3de89abd4ef8554336c40c464704663a2d4a8ee2 100644
--- a/kwant/physics/tests/test_dispersion.py
+++ b/kwant/physics/tests/test_dispersion.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from numpy.testing import assert_array_almost_equal, assert_almost_equal
diff --git a/kwant/physics/tests/test_leads.py b/kwant/physics/tests/test_leads.py
index 8106de765a31fd94df5fec1bab7d2b006eaa59be..fb7a5b33c7d4866128d5a46a08b958ce96b3313b 100644
--- a/kwant/physics/tests/test_leads.py
+++ b/kwant/physics/tests/test_leads.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/physics/tests/test_noise.py b/kwant/physics/tests/test_noise.py
index bdeb7063c4e55b82d98926f679c1a9306cd5276d..808c6fac9f3ab0ad3939c4dd6fa78bcf73fed3f3 100644
--- a/kwant/physics/tests/test_noise.py
+++ b/kwant/physics/tests/test_noise.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/plotter.py b/kwant/plotter.py
index 17f22a96c45ffdeda5a6aef36924421232fbdb1c..42ba2bfb99fc4d3dbc8b40ae9434c1526bb4f5c9 100644
--- a/kwant/plotter.py
+++ b/kwant/plotter.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Plotter module for Kwant.
diff --git a/kwant/rmt.py b/kwant/rmt.py
index 92f759ee7eff506d2aef6c53cc40d132b2dab65d..cff30d4fc381884c6092f410d42bc723e5ace17a 100644
--- a/kwant/rmt.py
+++ b/kwant/rmt.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/solvers/__init__.py b/kwant/solvers/__init__.py
index 3348a1f9ced0575c525bbd5900497c64ced3a8dc..6e8024668925b266f046cae51f296620f0e684f9 100644
--- a/kwant/solvers/__init__.py
+++ b/kwant/solvers/__init__.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """This package contains solvers in individual sub-packages.
diff --git a/kwant/solvers/common.py b/kwant/solvers/common.py
index 898779b7475a0f135f81e541dcfba0f336d2ebd6..d74a9473a225c6d2b41ab2c6d5cf481047931c22 100644
--- a/kwant/solvers/common.py
+++ b/kwant/solvers/common.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2014 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['SparseSolver', 'SMatrix', 'GreensFunction']
diff --git a/kwant/solvers/default.py b/kwant/solvers/default.py
index 28145700ae50199051845c5292a4c733e3acd511..10081cf679bfbe480a9f85157554f1513d21fcbc 100644
--- a/kwant/solvers/default.py
+++ b/kwant/solvers/default.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['smatrx', 'ldos', 'wave_function', 'greens_function']
diff --git a/kwant/solvers/mumps.py b/kwant/solvers/mumps.py
index ab491e4e5ca27e1eaf9cedaf072fcdd396f0dfa6..fc4b0e8a14f12b96dc320c6a81094e28c81891c1 100644
--- a/kwant/solvers/mumps.py
+++ b/kwant/solvers/mumps.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['smatrix', 'ldos', 'wave_function', 'greens_function', 'options',
diff --git a/kwant/solvers/sparse.py b/kwant/solvers/sparse.py
index 508c9d665f0757e4b4421c56e24201a3e3cbcae7..044ebc269bab15677e4d89d786469ef5e7a7f3e0 100644
--- a/kwant/solvers/sparse.py
+++ b/kwant/solvers/sparse.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 __all__ = ['smatrix', 'greens_function', 'ldos', 'wave_function', 'Solver']
diff --git a/kwant/solvers/tests/_test_sparse.py b/kwant/solvers/tests/_test_sparse.py
index 4754e3ee96668222e8ec62db29251a5d4002feae..5eaa20b1d4af9b2e131efe5e29d5eca2fc5514f6 100644
--- a/kwant/solvers/tests/_test_sparse.py
+++ b/kwant/solvers/tests/_test_sparse.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2014 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/solvers/tests/test_mumps.py b/kwant/solvers/tests/test_mumps.py
index a2007c029103220fdbe4c89cfb17dc20ded53391..a185a04c64f63b862ddb7de9827177fd3221a2d8 100644
--- a/kwant/solvers/tests/test_mumps.py
+++ b/kwant/solvers/tests/test_mumps.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2014 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 #from nose.plugins.skip import Skip, SkipTest
diff --git a/kwant/solvers/tests/test_sparse.py b/kwant/solvers/tests/test_sparse.py
index 0f9b6b2879fed47c77eb5c29a81dc6f3b7e7b3b1..c9920f9d8acd42f9bbd162788ea9cef9a30e429a 100644
--- a/kwant/solvers/tests/test_sparse.py
+++ b/kwant/solvers/tests/test_sparse.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2014 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from nose.plugins.skip import SkipTest
diff --git a/kwant/system.py b/kwant/system.py
index 0749a3af14784d18345f203750bb2e6d178d8566..a323eebe4f36882c746d336e6735f02e1f11cf0c 100644
--- a/kwant/system.py
+++ b/kwant/system.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 """Low-level interface of systems"""
diff --git a/kwant/tests/test_builder.py b/kwant/tests/test_builder.py
index 917fd548a2ed5ecbd1d2e71a84e13f9dbef5298b..d60d0884e4ac06c54cbaef9b68ed6331b6327a86 100644
--- a/kwant/tests/test_builder.py
+++ b/kwant/tests/test_builder.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2015 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/tests/test_lattice.py b/kwant/tests/test_lattice.py
index 2e739d68dc1317c495ef9b418019a8b66a9ce2e6..5b389d370d80289c724ec83c8d1b02389f5e579a 100644
--- a/kwant/tests/test_lattice.py
+++ b/kwant/tests/test_lattice.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import division
diff --git a/kwant/tests/test_plotter.py b/kwant/tests/test_plotter.py
index 05bdd3af790cec8791bb2f45a63000e504068cbb..d3074b0cb99e46690ed15f84cb18ba1e5ef51a05 100644
--- a/kwant/tests/test_plotter.py
+++ b/kwant/tests/test_plotter.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import tempfile
diff --git a/kwant/tests/test_rmt.py b/kwant/tests/test_rmt.py
index d31259239887e9074445856923443482064911f6..0d5fbda8aba7575bd34f350ab306ffc07c3b8cc5 100644
--- a/kwant/tests/test_rmt.py
+++ b/kwant/tests/test_rmt.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/kwant/tests/test_system.py b/kwant/tests/test_system.py
index 29f548087232b92a92292fae687a48183d84a8eb..29af26c2eb6e6043141536fe3605777af84a5a7f 100644
--- a/kwant/tests/test_system.py
+++ b/kwant/tests/test_system.py
@@ -1,9 +1,9 @@
 # Copyright 2011-2013 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 import numpy as np
diff --git a/setup.py b/setup.py
index 0f019f81d2a1bd9d192ae6fd347507dee65348b7..aeeecdb68e64913e3e18a893aabae8db5a3ab7fc 100755
--- a/setup.py
+++ b/setup.py
@@ -2,10 +2,10 @@
 
 # Copyright 2011-2015 Kwant authors.
 #
-# This file is part of Kwant.  It is subject to the license terms in the
-# LICENSE file found in the top-level directory of this distribution and at
+# This file is part of Kwant.  It is subject to the license terms in the file
+# LICENSE.rst found in the top-level directory of this distribution and at
 # http://kwant-project.org/license.  A list of Kwant authors can be found in
-# the AUTHORS file at the top-level directory of this distribution and at
+# the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
 from __future__ import print_function