Skip to content
Snippets Groups Projects
Commit 619aeba1 authored by leufen1's avatar leufen1
Browse files

fixed error if requirements are as out-commented

parent 8b7e848c
No related branches found
No related tags found
4 merge requests!164update release branch by recent developments,!163another update,!162Resolve "new release v1.0.0",!139Draft: Resolve "KZ filter"
Pipeline #47949 failed
...@@ -43,7 +43,7 @@ tests (from scratch): ...@@ -43,7 +43,7 @@ tests (from scratch):
script: script:
- zypper --non-interactive install binutils libproj-devel gdal-devel - zypper --non-interactive install binutils libproj-devel gdal-devel
- zypper --non-interactive install proj geos-devel - zypper --non-interactive install proj geos-devel
- cat requirements.txt | xargs -L 1 pip install - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install
- chmod +x ./CI/run_pytest.sh - chmod +x ./CI/run_pytest.sh
- ./CI/run_pytest.sh - ./CI/run_pytest.sh
after_script: after_script:
...@@ -72,7 +72,7 @@ tests (on GPU): ...@@ -72,7 +72,7 @@ tests (on GPU):
- chmod +x ./CI/update_badge.sh - chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null - ./CI/update_badge.sh > /dev/null
script: script:
- cat requirements_gpu.txt | xargs -L 1 pip install - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install
- chmod +x ./CI/run_pytest.sh - chmod +x ./CI/run_pytest.sh
- ./CI/run_pytest.sh - ./CI/run_pytest.sh
after_script: after_script:
...@@ -96,7 +96,7 @@ tests: ...@@ -96,7 +96,7 @@ tests:
- chmod +x ./CI/update_badge.sh - chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null - ./CI/update_badge.sh > /dev/null
script: script:
- cat requirements.txt | xargs -L 1 pip install - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install
- chmod +x ./CI/run_pytest.sh - chmod +x ./CI/run_pytest.sh
- ./CI/run_pytest.sh - ./CI/run_pytest.sh
after_script: after_script:
...@@ -120,7 +120,7 @@ coverage: ...@@ -120,7 +120,7 @@ coverage:
- chmod +x ./CI/update_badge.sh - chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null - ./CI/update_badge.sh > /dev/null
script: script:
- cat requirements.txt | xargs -L 1 pip install - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install
- chmod +x ./CI/run_pytest_coverage.sh - chmod +x ./CI/run_pytest_coverage.sh
- ./CI/run_pytest_coverage.sh - ./CI/run_pytest_coverage.sh
after_script: after_script:
...@@ -142,8 +142,8 @@ sphinx docs: ...@@ -142,8 +142,8 @@ sphinx docs:
- chmod +x ./CI/update_badge.sh - chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null - ./CI/update_badge.sh > /dev/null
script: script:
- cat requirements.txt | xargs -L 1 pip install - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install
- cat docs/requirements_docs.txt | xargs -L 1 pip install - cat docs/requirements_docs.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install
- chmod +x ./CI/create_documentation.sh - chmod +x ./CI/create_documentation.sh
- ./CI/create_documentation.sh - ./CI/create_documentation.sh
after_script: after_script:
......
...@@ -24,7 +24,8 @@ HPC systems, see [here](#special-instructions-for-installation-on-jülich-hpc-sy ...@@ -24,7 +24,8 @@ HPC systems, see [here](#special-instructions-for-installation-on-jülich-hpc-sy
preferably in a virtual environment. You can use `pip install -r requirements.txt` to install all requirements at preferably in a virtual environment. You can use `pip install -r requirements.txt` to install all requirements at
once. Note, we recently updated the version of Cartopy and there seems to be an ongoing once. Note, we recently updated the version of Cartopy and there seems to be an ongoing
[issue](https://github.com/SciTools/cartopy/issues/1552) when installing numpy and Cartopy at the same time. If you [issue](https://github.com/SciTools/cartopy/issues/1552) when installing numpy and Cartopy at the same time. If you
run into trouble, you could use ` cat requirements.txt | xargs -L 1 pip install` instead. run into trouble, you could use `cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install`
instead.
* Installation of **MLAir**: * Installation of **MLAir**:
* Either clone MLAir from the [gitlab repository](https://gitlab.version.fz-juelich.de/toar/mlair.git) * Either clone MLAir from the [gitlab repository](https://gitlab.version.fz-juelich.de/toar/mlair.git)
and use it without installation (beside the requirements) and use it without installation (beside the requirements)
......
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