Skip to content

Commit

Permalink
add mkdir as safeguard and remove old warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed Sep 17, 2015
1 parent ce3e793 commit 4e063e7
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -1504,8 +1504,6 @@ def execute_step( self, tool_dependency, package_name, actions, action_dict, fil
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
"""
# <action type="setup_python_environment">
# <repository name="package_python_2_7" owner="bgruening">
Expand Down Expand Up @@ -1553,6 +1551,7 @@ def execute_step( self, tool_dependency, package_name, actions, action_dict, fil
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
Expand Down

0 comments on commit 4e063e7

Please sign in to comment.