Add a cwl extras to galaxy-tool-util with cwltool as dependency

Also:
- Don't install `util` and `tool-util` packages twice in `packages/test.sh`
This commit is contained in:
Nicola Soranzo
2021-11-09 14:40:46 +01:00
parent 8f9cfe8168
commit cf5afe67cd
2 changed files with 9 additions and 5 deletions
+6 -5
View File
@@ -41,16 +41,17 @@ for ((i=0; i<${#PACKAGE_DIRS[@]}; i++)); do
run_mypy=${RUN_MYPY[$i]}
cd "$package_dir"
pip install -e '.'
pip install -r test-requirements.txt
# Install extras (if needed)
if [ "$package_dir" = "util" ]; then
pip install -e '.[template,jstree]'
elif [ "$package_dir" = "tool_util" ]; then
pip install -e '.[cwl,mulled,edam]'
else
pip install -e '.'
fi
if [ "$package_dir" = "tool_util" ]; then
pip install -e '.[mulled,edam]'
fi
pip install -r test-requirements.txt
if [[ "$run_tests" == "1" ]]; then
pytest --doctest-modules galaxy tests
+3
View File
@@ -99,6 +99,9 @@ setup(
include_package_data=True,
install_requires=requirements,
extras_require={
'cwl': [
'cwltool==3.0.20201109103151',
],
'mulled': [
'conda',
'cytoolz', # cytoolz is an undeclared dependency of the conda package on PyPI