view tool_dependencies.xml @ 0:f182da2b1d78 draft default tip

planemo upload for repository https://github.com/phac-nml/galaxy_tools/tree/master/packages/package_python_3_4_numpy_1_10_1 commit e2554dc878f6abf1c02ed9e6e4f4440ed32b02aa
author nml
date Thu, 07 Jul 2016 09:56:22 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
        <package name="atlas" version="3.10.2">
          <repository changeset_revision="98c017ec230d" name="package_atlas_3_10" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
        </package>
        <package name="python" version="3.4">
          <repository changeset_revision="20ecf5cd3c0e" name="package_python_3_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
        </package>
        <package name="numpy" version="1.10.1">
            <install version="1.0">
                <actions>
                    <action type="download_by_url">http://sourceforge.net/projects/numpy/files/NumPy/1.10.1/numpy-1.10.1.tar.gz</action>
                    <action type="set_environment_for_install">
                        <repository changeset_revision="98c017ec230d" name="package_atlas_3_10" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                            <package name="atlas" version="3.10.2" />
                        </repository>
                        <repository changeset_revision="20ecf5cd3c0e" name="package_python_3_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                            <package name="python" version="3.4" />
                        </repository>
                    </action>
                    <action type="make_directory">$INSTALL_DIR/bin</action>
                    <action type="make_directory">$INSTALL_DIR/lib/python</action>
                    <action type="shell_command">python3 setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
                    <action type="set_environment">
                        <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                        <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[ATLAS_LIB_DIR]</environment_variable>
                        <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable>
                        <environment_variable action="set_to" name="PATH_NUMPY">$INSTALL_DIR/bin</environment_variable>
                        <environment_variable action="set_to" name="NUMPY_ROOT_DIR">$INSTALL_DIR</environment_variable>
                    </action>
                </actions>
            </install>
            <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY and the binaries with PATH_NUMPY.</readme>
        </package>
</tool_dependency>