Revert "Restore the cached environments for now ... better to completely eliminate them later"

This reverts commit ad92bbf9be.
This commit is contained in:
mvdbeek
2017-01-08 21:08:08 +01:00
parent fd8243b3d3
commit 48a22d6e53
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -142,8 +142,6 @@ class ToolsController( BaseAPIController, UsesVisualizationMixin ):
"""
tool = self._get_tool(id)
tool._view.install_dependencies(None, tool.requirements)
if kwds.get('build_dependency_cache'):
tool.build_dependency_cache(**kwds)
# TODO: rework resolver install system to log and report what has been done.
# _view.install_dependencies should return a dict with stdout, stderr and success status
return tool.tool_requirements_status
@@ -911,8 +911,6 @@ class InstallRepositoryManager( object ):
if tool and tool.requirements not in installed_requirements:
installed_requirements.append(tool.requirements)
self._view.install_dependencies(None, tool.requirements)
if self.app.config.use_cached_dependency_manager:
tool.build_dependency_cache()
if install_tool_dependencies and tool_shed_repository.tool_dependencies and 'tool_dependencies' in metadata:
work_dir = tempfile.mkdtemp( prefix="tmp-toolshed-itsr" )
# Install tool dependencies.