view tool_dependencies.xml @ 17:be98a7b6c94e draft

Fixed capturing a non-critical warning that's being send to stderr.
author yhoogstrate
date Fri, 20 Mar 2015 06:33:35 -0400
parents 71b580f3a3e8
children 0e9520cf7587
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
	<package name="pysam" version="0.8.2.1">
		<repository changeset_revision="e6c1f548397a" name="package_pysam_0_8_2" owner="yhoogstrate" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
	</package>
	
	<package name="flaimapper" version="1.1.2">
		<install version="1.0">
			<actions>
				
				<action type="set_environment_for_install">
					<repository changeset_revision="e6c1f548397a" name="package_pysam_0_8_2" owner="yhoogstrate" toolshed="https://testtoolshed.g2.bx.psu.edu">
						<package name="pysam" version="0.8.2.1" />
					</repository>
				</action>
				
				<action type="make_directory">$INSTALL_DIR</action>
				<action type="make_directory">$INSTALL_DIR/bin</action>
				
				<action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR:$INSTALL_DIR"/lib/python":$INSTALL_DIR"/lib64/python":$PYSAM_PATH:$PYSAM_PATH"/lib/python":$PYSAM_PATH"/lib64/python" ; easy_install --prefix=$INSTALL_DIR --install-dir=$INSTALL_DIR --script-dir=$INSTALL_DIR/bin $REPOSITORY_INSTALL_DIR"/egg/flaimapper-1.1.2-py2.7.egg"</action>
				
				<action type="set_environment">
					<environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python</environment_variable>
					<environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
				</action>
			</actions>
		</install>
		
		<readme>
			Because I accidentally included too much large files within the
			GitHub repository of FlaiMapper it is not convenient to use git
			to pull the latest code from. Downloading simply takes way to
			long and the package size is unnecessairy large.
			
			Instead, I have created an egg that can be installed using
			easy_install.
		</readme>
	</package>
</tool_dependency>