# Create environment with "conda env create", update with "conda env update"!
# This file contains the top level dependencies of the pyramid project!
# requirements.txt also contains sub-dependencies, generated by "pip freeze > requirements.txt"!
# Add new dependencies here, then "conda env update", then "pip freeze > requirements.txt"!
# To see if compatible upgrades are available for the current packages, use "conda upgrade --all"!
# When packages are deprecated/deleted, it may be best to recreate the environment from scratch!

name: pyramid-legacy

channels:
  - defaults  # Default conda channels, on top to keep highest priority!
  - conda-forge  # Used for hyperspy, pyFFTW (linux-64/osx-64)!
  - ccpi  # Used for pyFFTW on win-64!

dependencies:
  # Basic:
  - python=3.5  # TODO: upgrade to 3.6!
  - numpy=1.11
  - scipy=0.19  # TODO: upgrade to 1.0 (if channels exist...)!
  - tqdm=4.14
  - scikit-image=0.13
  # Fast computation:
  - pyFFTW=0.10
  # File IO:
  - hyperspy=1.3
  - hyperspy-gui-ipywidgets=1.0
  # - hyperspy-gui-traitsui=1.0  # TODO: Optional! Delete when mayavi is gone!
  - h5py=2.7
  # Plotting and colors:  # TODO: Shift to plotting package?
  - matplotlib=1.5  # Only conda-forge channel has working version for qt4!
  - Pillow=4.1
  - cmocean=1.1
  - qt=4.8  # Necessary because of traits in mayavi... On server, pyqt=5.6 is needed!
  - mayavi=4.5  # TODO: Get rid of!
  #- colorspacious  # TODO: NOT USED?
  #- visvis  # TODO: NOT USED?
  # Testing:
  - pytest=3.1
  - pytest-cov=2.3
  - pytest-flake8=0.8
  - pytest-runner=2.11
  - pytest-mpl=0.7  # Needed for testing hyperspy! TODO: Use for pyramid or plotting library, too!
  - coverage=4.4
  # IPython and notebooks:
  - ipython=5.3
  - jupyter=1.0
  - nb_conda=2.2
  # TODO: Add back GUI dependencies!
  # TODO: Get Jutil from gitlab (currently doesn't work, git and cygwin don't play nice,...
  # TODO: ...because one is Unix, ond is Windows).
#  - pip=9.0
#  - pip:
#    # ALSO NEEDS JUTIL!
#    - "git+ssh://gitlab@iffgit.fz-juelich.de/unger/jutil.git"
