changeset 1:ed025c662e59 draft default tip

Uploaded
author ulfschaefer
date Fri, 18 Dec 2015 07:28:57 -0500
parents f6d05f9a22bf
children
files tool_dependencies.xml
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri Dec 11 09:34:42 2015 -0500
+++ b/tool_dependencies.xml	Fri Dec 18 07:28:57 2015 -0500
@@ -3,17 +3,24 @@
     <package name="python" version="2.7.10">
         <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
     </package>
-	<package name="pyvcf" version="0.6.7">
+    <package name="pyvcf" version="0.6.7">
         <install version="1.0">
             <actions>
                 <action type="download_by_url">https://pypi.python.org/packages/source/P/PyVCF/PyVCF-0.6.7.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="python" version="2.7.10" />
+                    </repository>
+                </action>
                 <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="make_directory">$INSTALL_DIR/lib/python/bin</action>
                 <action type="shell_command">
                     export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
-                    python setup.py install --install-lib $INSTALL_DIR/lib/python
+                    python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/lib/python/bin
                 </action>
                 <action type="set_environment">
                     <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="append_to" name="PATH">$INSTALL_DIR/lib/python/bin</environment_variable>
                     <environment_variable action="set_to" name="PYTHONPATH_PYVCF">$INSTALL_DIR/lib/python</environment_variable>
                 </action>
             </actions>
@@ -24,5 +31,5 @@
 
             The corresponding PYTHONPATH is accessible via PYTHONPATH_PYVCF
         </readme>
-	</package>
+    </package>
 </tool_dependency>