# HG changeset patch # User jankanis # Date 1400752827 14400 # Node ID 09faf0ae581b78e118dc2ddc6d21892207c862d2 # Parent e9407b729a6915cfe5677af9303e71bbcdc75a34 Fix some whitespace diff -r e9407b729a69 -r 09faf0ae581b tool_dependencies.xml --- a/tool_dependencies.xml Thu May 22 05:58:18 2014 -0400 +++ b/tool_dependencies.xml Thu May 22 06:00:27 2014 -0400 @@ -7,19 +7,19 @@ - https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz + https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz - --prefix=$INSTALL_DIR - - $INSTALL_DIR/bin - - - $INSTALL_DIR - + --prefix=$INSTALL_DIR + + $INSTALL_DIR/bin + + + $INSTALL_DIR + @@ -29,21 +29,21 @@ Python as of version 3.3 includes a built-in virtual environment manager. To create a python 3 virtual env, include the following actions in your tool_dependencies.xml: <action type="set_environment_for_install"> - <repository name="python3" owner="jankanis"> + <repository name="python3" owner="jankanis"> <package name="python3" version="3.4.1" /> - </repository> + </repository> </action> <action type="shell_command"> - # Unset any saved environment settings from parent virtual - # environments, e.g. for python 2 or if Galaxy itself is running - # from within a virtual environment. - unset _OLD_VIRTUAL_PATH; unset _OLD_VIRTUAL_PYTHONHOME - pyvenv {{$MY_PACKAGE_NAME}} - . {{$MY_PACKAGE_NAME}}/bin/activate - pip install {{$PYTHON-PACKAGE}} + # Unset any saved environment settings from parent virtual + # environments, e.g. for python 2 or if Galaxy itself is running + # from within a virtual environment. + unset _OLD_VIRTUAL_PATH; unset _OLD_VIRTUAL_PYTHONHOME + pyvenv {{$MY_PACKAGE_NAME}} + . {{$MY_PACKAGE_NAME}}/bin/activate + pip install {{$PYTHON-PACKAGE}} </action> <action type="set_environment"> - <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python3.4/site-packages:$INSTALL_DIR/lib64/python3.4/iste-packages</environment_variable> + <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python3.4/site-packages:$INSTALL_DIR/lib64/python3.4/iste-packages</environment_variable> </action>