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

Rolled back environment.yml to use pip install -e .['tests']

Installing EVERYTHING with pip was not a smart idea...
parent 5dfef1fc
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,8 @@ test: ...@@ -27,7 +27,8 @@ test:
# TODO: Different jobs with custom develop arguments? extra_requires (hyperspy, plotting)? # TODO: Different jobs with custom develop arguments? extra_requires (hyperspy, plotting)?
# TODO: Use pip install -e .[hyperspy], etc. # TODO: Use pip install -e .[hyperspy], etc.
# Install requirements: # Install requirements:
- pip install -r requirements.txt # TODO: Use conda docker image if available!? # - pip install -r requirements.txt # TODO: DOES NOT WORK (because mayavi and stuff...)
- pip install -e .['tests']
- python setup.py test - python setup.py test
- coverage html - coverage html
artifacts: artifacts:
......
...@@ -128,6 +128,7 @@ def get_files(rootdir): ...@@ -128,6 +128,7 @@ def get_files(rootdir):
return filepaths return filepaths
# TODO: Outsource stuff to setup.cfg? See https://github.com/pypa/setuptools/pull/862
# TODO: Use requirements.txt? extras_require for optional stuff (hyperspy, plotting)? # TODO: Use requirements.txt? extras_require for optional stuff (hyperspy, plotting)?
# TODO: After split of Pyramid, comment out and see what really is used (is e.g. scipy?)! # TODO: After split of Pyramid, comment out and see what really is used (is e.g. scipy?)!
......
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