Mercurial > repos > jankanis > package_python3_4
changeset 14:59b33d253163 draft
re-export LD_LIBRARY_PATH so that the required libraries can also be found at runtime
author | jankanis |
---|---|
date | Mon, 26 May 2014 09:28:34 -0400 |
parents | 9dbfc4fcef0a |
children | 5972e67030fd |
files | tool_dependencies.xml |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Mon May 26 05:26:11 2014 -0400 +++ b/tool_dependencies.xml Mon May 26 09:28:34 2014 -0400 @@ -59,6 +59,7 @@ <action type="set_environment"> <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> + <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[LD_LIBRARY_PATH]</environment_variable> <!-- empty PYTHONPATH, otherwise we will get Galaxy's Python 2 libraries in the Python 3 path --> <environment_variable action="set_to" name="PYTHONPATH" /> <environment_variable action="set_to" name="PYTHONHOME">$INSTALL_DIR</environment_variable> @@ -68,9 +69,11 @@ </install> <readme> - Python 3.4.1. Configured with the default settings, using --prefix=$INSTALL_DIR. + Python 3.4.1 - 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: + This build of python is configured with --enable-loadable-sqlite-extensions and a --prefix, any other settings are default. This build does not include modules for lzma, Tkinter and dbm, but does include ssl, gdbm and sqlite. Adding the missing modules should not be very difficult but requires wrapping the external sources that these modules require inside galaxy. + + 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">