Skip to content
Snippets Groups Projects
Commit 8ee281a9 authored by Christoph Groth's avatar Christoph Groth
Browse files

setup: extract long description from README; update README from paper abstract

parent 2fd65f0d
No related branches found
No related tags found
No related merge requests found
kwant is a Python package for numerical quantum transport calculations. It Kwant is a Python package for numerical quantum transport calculations. It aims
aims to be an user-friendly, powerful and efficient toolbox for the simulation to be an user-friendly, universal, and high-performance toolbox for the
of physical systems (of any dimensionality) that can be described by a simulation of physical systems of any dimensionality and geometry that can be
tight-binding model. It offers direct support for calculations of Landauer described by a tight-binding model. Kwant has been designed such that the
transport (conductance, noise), dispersion relations, modes, wave functions, natural concepts of the theory of quantum transport (lattices, symmetries,
various Green's functions, and local density of states. Being extensible and electrodes, orbital/spin/electron-hole degrees of freedom) are exposed in a
modular, kwant has been designed to be useful for other computations involving simple and transparent way: Defining a new simulation setup is very close to
tight-binding Hamiltonians as well. describing the corresponding mathematical model. Kwant offers direct support for
calculations of transport properties (conductance, noise, scattering matrix),
dispersion relations, modes, wave functions, various Green’s functions, and
out-of-equilibrium local quantities (charge or current densities). Other
computations involving tight-binding Hamiltonians can be implemented easily
thanks to its extensible and modular nature.
See also the files INSTALL, LICENSE, AUTHORS, and ACKNOWLEDGEMENTS in this See also the files INSTALL, LICENSE, AUTHORS, and ACKNOWLEDGEMENTS in this
directory. directory.
...@@ -7,9 +7,9 @@ kwant documentation ...@@ -7,9 +7,9 @@ kwant documentation
Researchers, please note that even though :doc:`kwant is Free Software Researchers, please note that even though :doc:`kwant is Free Software
<license>`, scientific integrity requires to give appropriate credit. If you <license>`, scientific integrity requires to give appropriate credit. If you
write a scientific paper whose results have been obtained thanks to kwant, write a scientific paper whose results have been obtained with the help of
please :doc:`acknowledge <acknowledgements>` the work of the :doc:`people that kwant, please :doc:`acknowledge <acknowledgements>` the work of the :doc:`people
have made it possible <authors>`. that have developed it <authors>`.
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# http://kwant-project.org/authors. # http://kwant-project.org/authors.
CONFIG_FILE = 'build.conf' CONFIG_FILE = 'build.conf'
README_FILE = 'README'
STATIC_VERSION_FILE = 'kwant/_static_version.py' STATIC_VERSION_FILE = 'kwant/_static_version.py'
REQUIRED_CYTHON_VERSION = (0, 17, 1) REQUIRED_CYTHON_VERSION = (0, 17, 1)
MUMPS_DEBIAN_PACKAGE = 'libmumps-scotch-dev' MUMPS_DEBIAN_PACKAGE = 'libmumps-scotch-dev'
...@@ -217,6 +218,19 @@ def version(): ...@@ -217,6 +218,19 @@ def version():
return version return version
def long_description():
text = []
try:
with open(README_FILE) as f:
for line in f:
if line == "\n":
break
text.append(line.rstrip())
except:
return ''
return '\n'.join(text)
def packages(): def packages():
return [root.replace('/', '.') return [root.replace('/', '.')
for root, dnames, fnames in os.walk('kwant') for root, dnames, fnames in os.walk('kwant')
...@@ -387,8 +401,9 @@ def main(): ...@@ -387,8 +401,9 @@ def main():
version=version(), version=version(),
author='kwant authors', author='kwant authors',
author_email='christoph.groth@cea.fr', author_email='christoph.groth@cea.fr',
description="A package for numerical " description="A package for numerical quantum transport calculations.",
"quantum transport calculations.", long_description=long_description(),
platforms=["Unix", "Linux", "Mac OS-X", "Windows"],
url="http://kwant-project.org/", url="http://kwant-project.org/",
license="BSD", license="BSD",
packages=packages(), packages=packages(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment