changeset 29:5e938e5eb46f draft

Uploaded
author mzeidler
date Mon, 23 Sep 2013 08:57:57 -0400
parents b1627b8843ae
children 3cee6b37cdcf
files tool_dependencies.xml
diffstat 1 files changed, 21 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Sep 23 07:10:59 2013 -0400
+++ b/tool_dependencies.xml	Mon Sep 23 08:57:57 2013 -0400
@@ -42,6 +42,22 @@
             </actions>
         </install>
     </package>
+    <package name="freetype" version="2.4.11">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2</action>
+                <action type="shell_command">./configure --prefix=$INSTALL_DIR/freetype/</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">make install</action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="append_to">$INSTALL_DIR/freetype/bin/</environment_variable>
+                    <environment_variable name="FREETYPE_LIB_DIR" action="set_to">$INSTALL_DIR/freetype/lib/</environment_variable>
+                    <environment_variable name="FREETYPE_INCLUDE_DIR" action="set_to">$INSTALL_DIR/freetype/include/</environment_variable>
+                </action>
+            </actions>
+        </install>
+    </package>
+
 <package name="matplotlib" version="1.2.1">
         <install version="1.0">
             <actions>
@@ -52,7 +68,9 @@
                 <!-- install matplotlib -->
                 <action type="make_directory">$INSTALL_DIR/lib/python</action>
                 <action type="shell_command">
-                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY &amp;&amp;  
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY &amp;&amp;
+                    export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIR/freetype2/ &amp;&amp; 
+                    export LIBRARY_PATH=$FREETYPE_LIB_DIR &amp;&amp;   
                     python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
                 </action>
                 <action type="set_environment">
@@ -67,23 +85,13 @@
  <package name="htseq" version="0.5.4">
         <install version="1.0">
             <actions>
-                <action type="download_by_url">https://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.4p3.tar.gz</action>
-                <action type="set_environment_for_install">
-                    <repository changeset_revision="ac9cc2992b69" name="package_biopython_1_62" owner="biopython" toolshed="http://testtoolshed.g2.bx.psu.edu" >
-                        <package name="biopython" version="1.6.2"/>
-                    </repository>
-                </action>
-                <action type="set_environment_for_install">
-                    <repository changeset_revision="966f29c955b9" name="package_matplotlib_1_2" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" >
-                        <package name="matplotlib" version="1.2.1"/>
-                    </repository>
-                </action>    
+                <action type="download_by_url">https://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.4p3.tar.gz</action>  
                 <action type="make_directory">$INSTALL_DIR/lib/python</action>
                 <action type="shell_command">
                     export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
                     export PATH=$PATH:$PATH_NUMPY &amp;&amp; 
                     export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &amp;&amp; 
-                    python setup.py install --install-lib $INSTALL_DIR/lib/python
+                    python setup.py install --install-lib $INSTALL_DIR/lib/python --user --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin
                 </action>
                 <action type="set_environment">
                     <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>