mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
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:
+6
-5
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user