From 4e063e793f6ddea0ae4c36183b8b4ad96d193f08 Mon Sep 17 00:00:00 2001 From: Bjoern Gruening Date: Thu, 17 Sep 2015 17:32:33 +0200 Subject: [PATCH] add mkdir as safeguard and remove old warning --- .../galaxy_install/tool_dependencies/recipe/step_handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py b/lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py index fb3dc4b3ecc..336880472d7 100755 --- a/lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py @@ -1504,8 +1504,6 @@ class SetupPythonEnvironment( Download, RecipeStep ): and returned and the installation directory (i.e., dir) will be defined and returned. If we're not in the initial download stage, these actions will not occur, and None values will be returned for them. - Warning: easy_install is configured that it will not be install any dependency, the tool developer needs - to specify every dependency explicitly """ # # @@ -1553,6 +1551,7 @@ class SetupPythonEnvironment( Download, RecipeStep ): archive = CompressedFile(package_to_install) uncompressed_path = archive.extract( work_dir ) cmd = r'''PATH=$PYTHONHOME/bin:$PATH; export PATH; + mkdir -p $INSTALL_DIR/lib/python; export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH; cd %s; python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin