view tool_dependencies.xml @ 0:704642a18837 draft

Uploaded
author geert-vandeweyer
date Tue, 29 Jul 2014 08:30:57 -0400
parents
children 35154a48b485
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="python" version="2.7">
	<repository changeset_revision="1e1fd239d5cf" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu"/>
    </package>
    <package name="rseqc" version="2.3.9">
        <install version = "1.0">
            <actions>
                <!-- Not sure why these must be made apriori, but install fails otherwise -->
                <action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.9.tar.gz</action>
 	  	<action type="set_environment_for_install">
          		<repository changeset_revision="1e1fd239d5cf" name="package_python_2_7" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            			<package name="python" version="2.7" />
          		</repository>
		</action>
                <action type="make_directory">$INSTALL_DIR/lib/python</action> 
                <action type="make_directory">$INSTALL_DIR/lib64/python</action>
                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
                <action type="set_environment">
                    <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            RSeQC version 2.3.9, documentation available at http://rseqc.sourceforge.net/.
            Requires gcc and python 2.7. This package is a test to include python 2.7 installation as a pre-installation dependency.
        </readme>
    </package>
</tool_dependency>