Skip to content
Snippets Groups Projects
Commit 5dfef1fc authored by Jan Caron's avatar Jan Caron
Browse files

Replaced requirements.txt by using "pip freeze > requirements.txt".

Changed gitlab-ci.yml to use pip install -r requirments.txt instead
(which installes EVERYTHING!)
parent 826b2ece
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ test:
script:
# TODO: Different jobs with custom develop arguments? extra_requires (hyperspy, plotting)?
# TODO: Use pip install -e .[hyperspy], etc.
# Install requirements (-e: editable, like python setup.py develop, but pip, not easy_install):
- pip install -e .['tests'] # Also installs everything for tests!
# Install requirements:
- pip install -r requirements.txt # TODO: Use conda docker image if available!?
- python setup.py test
- coverage html
artifacts:
......
# 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"!
# When packages are deprecated/deleted, it may be best to recreate the environment from scratch!
name: pyramid
channels:
- defaults
- conda-forge # Used for hyperspy, pyFFTW (linux-64/osx-64)
- 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:
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
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