Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • kwant/kwant
  • jbweston/kwant
  • anton-akhmerov/kwant
  • cwg/kwant
  • Mathieu/kwant
  • slavoutich/kwant
  • pacome/kwant
  • behrmann/kwant
  • michaelwimmer/kwant
  • albeercik/kwant
  • eunjongkim/kwant
  • basnijholt/kwant
  • r-j-skolasinski/kwant
  • sahmed95/kwant
  • pablopiskunow/kwant
  • mare/kwant
  • dvarjas/kwant
  • Paul/kwant
  • bbuijtendorp/kwant
  • tkloss/kwant
  • torosdahl/kwant
  • kel85uk/kwant
  • kpoyhonen/kwant
  • Fromeworld/kwant
  • quaeritis/kwant
  • marwahaha/kwant
  • fernandodfufrpe/kwant
  • oly/kwant
  • jiamingh/kwant
  • mehdi2369/kwant
  • ValFadeev/kwant
  • Kostas/kwant
  • chelseabaptiste03/kwant
33 results
Show changes
Showing
with 2659 additions and 322 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -2,6 +2,7 @@ FROM conda/miniconda3:latest ...@@ -2,6 +2,7 @@ FROM conda/miniconda3:latest
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
# all the hard non-Python dependencies # all the hard non-Python dependencies
...@@ -9,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ...@@ -9,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Additional tools for running CI # Additional tools for running CI
file rsync openssh-client \ file rsync openssh-client \
# Documentation building # Documentation building
inkscape texlive-full zip \ inkscape texlive-full zip librsvg2-bin \
&& apt-get clean && \ && apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
...@@ -18,3 +19,5 @@ COPY kwant-latest.yml kwant-stable.yml kwant-stable-no-extras.yml / ...@@ -18,3 +19,5 @@ COPY kwant-latest.yml kwant-stable.yml kwant-stable-no-extras.yml /
RUN conda env create -qf kwant-stable.yml RUN conda env create -qf kwant-stable.yml
RUN conda env create -qf kwant-stable-no-extras.yml RUN conda env create -qf kwant-stable-no-extras.yml
RUN conda env create -qf kwant-latest.yml RUN conda env create -qf kwant-latest.yml
RUN /usr/local/envs/kwant-latest/bin/python -m ipykernel install --user --name kwant-latest
...@@ -2,11 +2,12 @@ FROM debian:latest ...@@ -2,11 +2,12 @@ FROM debian:latest
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
gnupg dirmngr apt-transport-https ca-certificates curl software-properties-common gnupg dirmngr apt-transport-https ca-certificates curl software-properties-common
RUN echo "deb http://downloads.kwant-project.org/debian/ stretch-backports main" >> /etc/apt/sources.list && \ RUN echo "deb http://downloads.kwant-project.org/debian/ stable main" >> /etc/apt/sources.list && \
apt-key adv --no-tty --keyserver pool.sks-keyservers.net --recv-key C3F147F5980F3535 && \ apt-key adv --no-tty --keyserver pool.sks-keyservers.net --recv-key C3F147F5980F3535 && \
apt-get update && apt-get install -y --no-install-recommends \ apt-get update && apt-get install -y --no-install-recommends \
# all the hard non-Python dependencies # all the hard non-Python dependencies
......
FROM ubuntu:16.04 FROM ubuntu:18.04
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
gnupg dirmngr apt-transport-https software-properties-common gnupg dirmngr apt-transport-https software-properties-common
......
...@@ -23,6 +23,9 @@ dependencies: ...@@ -23,6 +23,9 @@ dependencies:
- pytest-flakes - pytest-flakes
- pytest-pep8 - pytest-pep8
# Documentation building # Documentation building
- sphinx=1.7.4 # later versions seem to have problems - sphinx
- numpydoc - numpydoc
- requests - requests
- jupyter_sphinx
- pip:
- sphinxcontrib-svg2pdfconverter
...@@ -2,9 +2,9 @@ name: kwant-stable-no-extras ...@@ -2,9 +2,9 @@ name: kwant-stable-no-extras
channels: channels:
- conda-forge - conda-forge
dependencies: dependencies:
- python=3.5 - python=3.6
- numpy=1.11.0 - numpy=1.13.1
- scipy=0.17 # No minor version because conda-forge has no 0.17.0 - scipy=0.19.1
- tinyarray=1.2.0 - tinyarray=1.2.0
# Linear algebra libraraies # Linear algebra libraraies
- blas #=1.1 openblas - blas #=1.1 openblas
...@@ -19,7 +19,3 @@ dependencies: ...@@ -19,7 +19,3 @@ dependencies:
- pytest-cov - pytest-cov
- pytest-flakes - pytest-flakes
- pytest-pep8 - pytest-pep8
# Documentation building
- sphinx=1.7.4 # later versions seem to have problems
- numpydoc
- requests
...@@ -2,12 +2,13 @@ name: kwant-stable ...@@ -2,12 +2,13 @@ name: kwant-stable
channels: channels:
- conda-forge - conda-forge
dependencies: dependencies:
- python=3.5 - python=3.6
- numpy=1.11.0 - numpy=1.13.3
- scipy=0.17 # No minor version because conda-forge has no 0.17.0 - scipy=0.19.1
- tinyarray=1.2.0 - tinyarray=1.2.0
- sympy=0.7.6 - sympy=1.1.1
- matplotlib=1.5.1 - matplotlib=2.1.1
- qsymm=1.2.6
# Linear algebra libraraies # Linear algebra libraraies
- mumps - mumps
- blas #=1.1 openblas - blas #=1.1 openblas
...@@ -22,7 +23,3 @@ dependencies: ...@@ -22,7 +23,3 @@ dependencies:
- pytest-cov - pytest-cov
- pytest-flakes - pytest-flakes
- pytest-pep8 - pytest-pep8
# Documentation building
- sphinx=1.7.4 # later versions seem to have problems
- numpydoc
- requests
...@@ -29,22 +29,29 @@ except ImportError: ...@@ -29,22 +29,29 @@ except ImportError:
raise raise
from ._common import KwantDeprecationWarning, UserCodeError from ._common import KwantDeprecationWarning, UserCodeError
__all__.extend(['KwantDeprecationWarning', 'UserCodeError']) __all__.extend(['KwantDeprecationWarning', 'UserCodeError'])
for module in ['system', 'builder', 'lattice', 'solvers', 'digest', 'rmt', # Pre-import most submodules. (We make exceptions for submodules that have
'operator', 'kpm', 'wraparound']: # special dependencies or where that would take too long.)
exec('from . import {0}'.format(module)) from . import system
__all__.append(module) from . import builder
from . import lattice
from . import solvers
from . import digest
from . import rmt
from . import operator
from . import kpm
from . import wraparound
__all__.extend(['system', 'builder', 'lattice', 'solvers', 'digest', 'rmt',
'operator', 'kpm', 'wraparound'])
# Make selected functionality available directly in the root namespace. # Make selected functionality available directly in the root namespace.
available = [('builder', ['Builder', 'HoppingKind']), from .builder import Builder, HoppingKind
('lattice', ['TranslationalSymmetry']), __all__.extend(['Builder', 'HoppingKind'])
('solvers.default', from .lattice import TranslationalSymmetry
['smatrix', 'greens_function', 'ldos', 'wave_function'])] __all__.extend(['TranslationalSymmetry'])
for module, names in available: from .solvers.default import smatrix, greens_function, ldos, wave_function
exec('from .{0} import {1}'.format(module, ', '.join(names))) __all__.extend(['smatrix', 'greens_function', 'ldos', 'wave_function'])
__all__.extend(names)
# Importing plotter might not work, but this does not have to be a problem -- # Importing plotter might not work, but this does not have to be a problem --
# only no plotting will be available. # only no plotting will be available.
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.