comparison tool_dependencies.xml @ 1:ee534b2a2094 draft

Uploaded
author greg
date Sat, 14 Nov 2015 17:03:10 -0500
parents a357536fb363
children cd0e48578c91
comparison
equal deleted inserted replaced
0:a357536fb363 1:ee534b2a2094
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 3 <package name="cmake" version="3.2.3">
4 <repository changeset_revision="e932c7599efd" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
5 </package>
4 <package name="icqsol" version="1.0"> 6 <package name="icqsol" version="1.0">
5 <install version="1.0"> 7 <install version="1.0">
6 <actions_group> 8 <actions_group>
7 <actions os="linux" architecture="x86_64"> 9 <actions architecture="x86_64" os="linux">
8 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 --> 10 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 -->
9 <action type="download_file" target_filename="Anaconda-2.3.0-Linux-x86_64.sh">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh</action> 11 <action target_filename="Anaconda-2.3.0-Linux-x86_64.sh" type="download_file">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh</action>
12
13 <action type="set_environment_for_install">
14 <repository changeset_revision="e932c7599efd" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
15 <package name="cmake" version="3.2.3" />
16 </repository>
17 </action>
18
10 <action type="shell_command">bash Anaconda-2.3.0-Linux-x86_64.sh -b -f -p $INSTALL_DIR</action> 19 <action type="shell_command">bash Anaconda-2.3.0-Linux-x86_64.sh -b -f -p $INSTALL_DIR</action>
11 20
12 <!-- Install VTK 6.3.0 into the above Python --> 21 <!-- Install VTK 6.3.0 into the above Python -->
13 <action type="shell_command"> 22 <action type="shell_command">
14 <![CDATA[ 23
15 export PATH=$INSTALL_DIR/bin:$PATH && 24 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
16 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH && 25 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &amp;&amp;
17 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && 26 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
18 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && 27 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
19 conda install -c https://conda.anaconda.org/anaconda vtk --yes 28 conda install -c https://conda.anaconda.org/anaconda vtk --yes
20 ]]> 29
21 </action> 30 </action>
22 31
23 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python --> 32 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python -->
24 <action type="make_directory">$TMP_WORK_DIR/pycsg</action> 33 <action type="make_directory">$TMP_WORK_DIR/pycsg</action>
25 <action type="change_directory">$TMP_WORK_DIR/pycsg</action> 34 <action type="change_directory">$TMP_WORK_DIR/pycsg</action>
26 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action> 35 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action>
27 <action type="change_directory">pycsg</action> 36 <action type="change_directory">pycsg</action>
28 <action type="shell_command"> 37 <action type="shell_command">
29 <![CDATA[ 38
30 export PATH=$INSTALL_DIR/bin:$PATH && 39 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
31 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH && 40 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &amp;&amp;
32 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && 41 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
33 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && 42 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
34 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR 43 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
35 ]]> 44
36 </action> 45 </action>
37 46
38 <!-- Install and compile pytriangle version 1.0 as a package in the above Python --> 47 <!-- Install and compile pytriangle version 1.0 as a package in the above Python -->
39 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action> 48 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action>
40 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action> 49 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action>
41 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action> 50 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action>
42 <action type="change_directory">pytriangle</action> 51 <action type="change_directory">pytriangle</action>
43 <action type="shell_command"> 52 <action type="shell_command">
44 <![CDATA[ 53
45 export PATH=$INSTALL_DIR/bin:$PATH && 54 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
46 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH && 55 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &amp;&amp;
47 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && 56 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
48 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && 57 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
49 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR 58 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
50 ]]> 59
51 </action> 60 </action>
52 61
53 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> 62 <!-- Install and compile icqsol version 1.0 as a package in the above Python -->
54 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> 63 <action type="make_directory">$TMP_WORK_DIR/icqsol</action>
55 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> 64 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
56 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> 65 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
57 <action type="change_directory">icqsol</action> 66 <action type="change_directory">icqsol</action>
58 <action type="shell_command"> 67 <action type="shell_command">
59 <![CDATA[ 68
60 export PATH=$INSTALL_DIR/bin:$PATH && 69 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
61 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH && 70 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &amp;&amp;
62 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && 71 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
63 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR 72 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR
64 ]]> 73
65 </action> 74 </action>
66 75
67 <action type="set_environment"> 76 <action type="set_environment">
68 <!-- 77 <!--
69 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets 78 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
73 <environment_variable action="set_to" name="ANACONDAHOME">$INSTALL_DIR</environment_variable> 82 <environment_variable action="set_to" name="ANACONDAHOME">$INSTALL_DIR</environment_variable>
74 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> 83 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
75 </action> 84 </action>
76 </actions> 85 </actions>
77 86
78 <actions os="darwin" architecture="x86_64"> 87 <actions architecture="x86_64" os="darwin">
79 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 --> 88 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 -->
80 <action type="download_file" target_filename="Anaconda-2.3.0-MacOSX-x86_64.sh">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-MacOSX-x86_64.sh</action> 89 <action target_filename="Anaconda-2.3.0-MacOSX-x86_64.sh" type="download_file">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-MacOSX-x86_64.sh</action>
81 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action> 90 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action>
82 91
83 <!-- Install VTK 6.3.0 into the above Python --> 92 <!-- Install VTK 6.3.0 into the above Python -->
84 <action type="shell_command"> 93 <action type="shell_command">
85 <![CDATA[ 94
86 export PATH=$INSTALL_DIR/bin:$PATH && 95 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
87 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH && 96 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &amp;&amp;
88 export DYLD_LIBRARY_PATH=$INSTALL_DIR/lib:$DYLD_LIBRARY_PATH && 97 export DYLD_LIBRARY_PATH=$INSTALL_DIR/lib:$DYLD_LIBRARY_PATH &amp;&amp;
89 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && 98 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
90 conda install -c https://conda.anaconda.org/anaconda vtk --yes 99 conda install -c https://conda.anaconda.org/anaconda vtk --yes
91 ]]> 100
92 </action> 101 </action>
93 <action type="shell_command"> 102 <action type="shell_command">
94 ln -s $INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin/vtkpython $INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin/python 103 ln -s $INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin/vtkpython $INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin/python
95 </action> 104 </action>
96 105
98 <action type="make_directory">$TMP_WORK_DIR/pycsg</action> 107 <action type="make_directory">$TMP_WORK_DIR/pycsg</action>
99 <action type="change_directory">$TMP_WORK_DIR/pycsg</action> 108 <action type="change_directory">$TMP_WORK_DIR/pycsg</action>
100 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action> 109 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action>
101 <action type="change_directory">pycsg</action> 110 <action type="change_directory">pycsg</action>
102 <action type="shell_command"> 111 <action type="shell_command">
103 <![CDATA[ 112
104 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH && 113 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH &amp;&amp;
105 export PYTHONPATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7/site-packages:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7:pkgs/vtk-6.3.0-py27_0/lib:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin && 114 export PYTHONPATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7/site-packages:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7:pkgs/vtk-6.3.0-py27_0/lib:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin &amp;&amp;
106 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH && 115 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH &amp;&amp;
107 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && 116 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
108 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR 117 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
109 ]]> 118
110 </action> 119 </action>
111 120
112 <!-- Install and compile pytriangle version 1.0 as a package in the above Python --> 121 <!-- Install and compile pytriangle version 1.0 as a package in the above Python -->
113 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action> 122 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action>
114 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action> 123 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action>
115 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action> 124 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action>
116 <action type="change_directory">pytriangle</action> 125 <action type="change_directory">pytriangle</action>
117 <action type="shell_command"> 126 <action type="shell_command">
118 <![CDATA[ 127
119 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH && 128 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH &amp;&amp;
120 export PYTHONPATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7/site-packages:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7:pkgs/vtk-6.3.0-py27_0/lib:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin && 129 export PYTHONPATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7/site-packages:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7:pkgs/vtk-6.3.0-py27_0/lib:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin &amp;&amp;
121 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH && 130 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH &amp;&amp;
122 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH 131 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
123 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR 132 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
124 ]]> 133
125 </action> 134 </action>
126 135
127 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> 136 <!-- Install and compile icqsol version 1.0 as a package in the above Python -->
128 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> 137 <action type="make_directory">$TMP_WORK_DIR/icqsol</action>
129 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> 138 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
130 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> 139 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
131 <action type="change_directory">icqsol</action> 140 <action type="change_directory">icqsol</action>
132 <action type="shell_command"> 141 <action type="shell_command">
133 <![CDATA[ 142
134 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH && 143 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH &amp;&amp;
135 export PYTHONPATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7/site-packages:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7:pkgs/vtk-6.3.0-py27_0/lib:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin && 144 export PYTHONPATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7/site-packages:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib/python2.7:pkgs/vtk-6.3.0-py27_0/lib:$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin &amp;&amp;
136 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH && 145 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH &amp;&amp;
137 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR 146 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR
138 ]]> 147
139 </action> 148 </action>
140 149
141 <action type="set_environment"> 150 <action type="set_environment">
142 <!-- 151 <!--
143 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets 152 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
154 </action> 163 </action>
155 </actions> 164 </actions>
156 </actions_group> 165 </actions_group>
157 </install> 166 </install>
158 <readme> 167 <readme>
159 <![CDATA[ 168
160 This installation recipe installs the Anaconda version 2.3.0 of the Python programming language 169 This installation recipe installs the Anaconda version 2.3.0 of the Python programming language
161 version 2.7.10. Anaconda is a completely free Python distribution (including for commercial use 170 version 2.7.10. Anaconda is a completely free Python distribution (including for commercial use
162 and redistribution). It includes more than 300 of the most popular Python packages for science, 171 and redistribution). It includes more than 300 of the most popular Python packages for science,
163 math, engineering, and data analysis. This list of packages is available at 172 math, engineering, and data analysis. This list of packages is available at
164 http://docs.continuum.io/anaconda/pkg-docs. 173 http://docs.continuum.io/anaconda/pkg-docs.
192 Pytriangle is a python interface to the 2D triangulation program originally written by Jonathan Richard Shewchuck 201 Pytriangle is a python interface to the 2D triangulation program originally written by Jonathan Richard Shewchuck
193 202
194 5) Icqsol version 1.0 203 5) Icqsol version 1.0
195 204
196 Icqsol is a collection of tools for constructing and solving partial differential equations. 205 Icqsol is a collection of tools for constructing and solving partial differential equations.
197 ]]> 206
198 207
199 </readme> 208 </readme>
200 </package> 209 </package>
201 </tool_dependency> 210 </tool_dependency>