# HG changeset patch # User jankanis # Date 1400752698 14400 # Node ID e9407b729a6915cfe5677af9303e71bbcdc75a34 Uploaded diff -r 000000000000 -r e9407b729a69 tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu May 22 05:58:18 2014 -0400 @@ -0,0 +1,52 @@ + + + + + + + + + + https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz + + + + + + --prefix=$INSTALL_DIR + + $INSTALL_DIR/bin + + + $INSTALL_DIR + + + + + + Python 3.4.1. Configured with the default settings, using --prefix=$INSTALL_DIR. + + 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"> + <package name="python3" version="3.4.1" /> + </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}} + </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> + </action> + + + + +