annotate tool_dependencies.xml @ 4:789f4e7df861 draft

Uploaded
author greg
date Thu, 19 Nov 2015 21:25:50 -0500
parents 245029376e25
children 70c2d4e3a34b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a357536fb363 Uploaded
greg
parents:
diff changeset
1 <?xml version="1.0"?>
a357536fb363 Uploaded
greg
parents:
diff changeset
2 <tool_dependency>
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
3 <package name="cmake" version="3.2.3">
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
4 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
5 </package>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
6 <package name="icqsol" version="1.0">
a357536fb363 Uploaded
greg
parents:
diff changeset
7 <install version="1.0">
a357536fb363 Uploaded
greg
parents:
diff changeset
8 <actions_group>
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
9 <actions architecture="x86_64" os="linux">
0
a357536fb363 Uploaded
greg
parents:
diff changeset
10 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 -->
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
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>
3
245029376e25 Uploaded
greg
parents: 2
diff changeset
12
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
13 <action type="set_environment_for_install">
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
14 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
15 <package name="cmake" version="3.2.3" />
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
16 </repository>
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
17 </action>
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
18
0
a357536fb363 Uploaded
greg
parents:
diff changeset
19 <action type="shell_command">bash Anaconda-2.3.0-Linux-x86_64.sh -b -f -p $INSTALL_DIR</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
20
a357536fb363 Uploaded
greg
parents:
diff changeset
21 <!-- Install VTK 6.3.0 into the above Python -->
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
22 <action type="make_directory">$TMP_WORK_DIR/vtk</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
23 <action type="change_directory">$TMP_WORK_DIR/vtk</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
24 <action target_filename="VTK-6.2.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.2/VTK-6.2.0.tar.gz</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
25 <action type="shell_command">tar xfvz VTK-6.2.0.tar.gz</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
26 <action type="change_directory">VTK-6.2.0</action>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
27 <action type="shell_command">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
28
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
29 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
30 export PYTHONPATH=$INSTALL_DIR:$PYTHONPATH &amp;&amp;
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
31 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
32 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
33 cmake \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
34 -DCMAKE_BUILD_TYPE:STRING=Release \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
35 -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/../build \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
36 -DVTK_WRAP_PYTHON:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
37 -DVTK_Group_StandAlone:BOOL=OFF \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
38 -DVTK_Group_Rendering:BOOL=OFF \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
39 -DModule_vtkCommonColor:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
40 -DModule_vtkCommonComputationalGeometry:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
41 -DModule_vtkCommonDataModel:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
42 -DModule_vtkCommonExecutionModel:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
43 -DModule_vtkCommonMath:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
44 -DModule_vtkCommonMisc:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
45 -DModule_vtkCommonSystem:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
46 -DModule_vtkCommonTransforms:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
47 -DModule_vtkFiltersCore:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
48 -DModule_vtkFiltersExtraction:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
49 -DModule_vtkFiltersGeneral:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
50 -DModule_vtkFiltersGeneric:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
51 -DModule_vtkFiltersGeometry:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
52 -DModule_vtkFiltersPython:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
53 -DModule_vtkImagingHybrid:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
54 -DModule_vtkIOCore:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
55 -DModule_vtkIOGeometry:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
56 -DModule_vtkIOLegacy:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
57 -DModule_vtkWrappingPythonCore:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
58 -DModule_vtkIOPLY:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
59 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/lib/python2.7/site-packages \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
60 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/bin/python \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
61 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/lib/libpython2.7.so \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
62 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . &amp;&amp;
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
63 make -j 8 &amp;&amp;
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
64 make install
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
65
0
a357536fb363 Uploaded
greg
parents:
diff changeset
66 </action>
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
67 <action type="move_directory_files">
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
68 <source_directory>../build/bin</source_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
69 <destination_directory>$INSTALL_DIR/bin</destination_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
70 </action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
71 <action type="move_directory_files">
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
72 <source_directory>../build/include</source_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
73 <destination_directory>$INSTALL_DIR/include</destination_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
74 </action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
75 <action type="move_directory_files">
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
76 <source_directory>../build/lib</source_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
77 <destination_directory>$INSTALL_DIR/lib</destination_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
78 </action>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
79
a357536fb363 Uploaded
greg
parents:
diff changeset
80 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python -->
a357536fb363 Uploaded
greg
parents:
diff changeset
81 <action type="make_directory">$TMP_WORK_DIR/pycsg</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
82 <action type="change_directory">$TMP_WORK_DIR/pycsg</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
83 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
84 <action type="change_directory">pycsg</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
85 <action type="shell_command">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
86
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
87 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
88 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
89 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
0
a357536fb363 Uploaded
greg
parents:
diff changeset
90 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
91
0
a357536fb363 Uploaded
greg
parents:
diff changeset
92 </action>
a357536fb363 Uploaded
greg
parents:
diff changeset
93
a357536fb363 Uploaded
greg
parents:
diff changeset
94 <!-- Install and compile icqsol version 1.0 as a package in the above Python -->
a357536fb363 Uploaded
greg
parents:
diff changeset
95 <action type="make_directory">$TMP_WORK_DIR/icqsol</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
96 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
97 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
98 <action type="change_directory">icqsol</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
99 <action type="shell_command">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
100
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
101 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
102 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &amp;&amp;
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
103 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
104 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
105
0
a357536fb363 Uploaded
greg
parents:
diff changeset
106 </action>
a357536fb363 Uploaded
greg
parents:
diff changeset
107
a357536fb363 Uploaded
greg
parents:
diff changeset
108 <action type="set_environment">
a357536fb363 Uploaded
greg
parents:
diff changeset
109 <!--
a357536fb363 Uploaded
greg
parents:
diff changeset
110 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
a357536fb363 Uploaded
greg
parents:
diff changeset
111 the right Python from the environment bin directory.
a357536fb363 Uploaded
greg
parents:
diff changeset
112 -->
a357536fb363 Uploaded
greg
parents:
diff changeset
113 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
114 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
115 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
a357536fb363 Uploaded
greg
parents:
diff changeset
116 </action>
a357536fb363 Uploaded
greg
parents:
diff changeset
117 </actions>
a357536fb363 Uploaded
greg
parents:
diff changeset
118
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
119 <actions architecture="x86_64" os="darwin">
0
a357536fb363 Uploaded
greg
parents:
diff changeset
120 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 -->
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
121 <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>
3
245029376e25 Uploaded
greg
parents: 2
diff changeset
122
2
cd0e48578c91 Uploaded
greg
parents: 1
diff changeset
123 <action type="set_environment_for_install">
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
124 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
2
cd0e48578c91 Uploaded
greg
parents: 1
diff changeset
125 <package name="cmake" version="3.2.3" />
cd0e48578c91 Uploaded
greg
parents: 1
diff changeset
126 </repository>
cd0e48578c91 Uploaded
greg
parents: 1
diff changeset
127 </action>
3
245029376e25 Uploaded
greg
parents: 2
diff changeset
128
0
a357536fb363 Uploaded
greg
parents:
diff changeset
129 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
130
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
131 <!-- Install and compile VTK 6.2.0 as a package in the above Python -->
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
132 <action type="make_directory">$TMP_WORK_DIR/vtk</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
133 <action type="change_directory">$TMP_WORK_DIR/vtk</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
134 <action target_filename="VTK-6.2.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.2/VTK-6.2.0.tar.gz</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
135 <action type="shell_command">tar xfvz VTK-6.2.0.tar.gz</action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
136 <action type="change_directory">VTK-6.2.0</action>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
137 <action type="shell_command">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
138
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
139 export PATH=$INSTALL_DIR/bin:$INSTALL_DIR/bin:$PATH &amp;&amp;
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
140 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
141 cmake \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
142 -DCMAKE_BUILD_TYPE:STRING=Release \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
143 -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/../build \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
144 -DVTK_WRAP_PYTHON:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
145 -DVTK_Group_StandAlone:BOOL=OFF \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
146 -DVTK_Group_Rendering:BOOL=OFF \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
147 -DModule_vtkCommonColor:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
148 -DModule_vtkCommonComputationalGeometry:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
149 -DModule_vtkCommonDataModel:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
150 -DModule_vtkCommonExecutionModel:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
151 -DModule_vtkCommonMath:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
152 -DModule_vtkCommonMisc:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
153 -DModule_vtkCommonSystem:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
154 -DModule_vtkCommonTransforms:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
155 -DModule_vtkFiltersCore:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
156 -DModule_vtkFiltersExtraction:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
157 -DModule_vtkFiltersGeneral:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
158 -DModule_vtkFiltersGeneric:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
159 -DModule_vtkFiltersGeometry:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
160 -DModule_vtkFiltersPython:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
161 -DModule_vtkImagingHybrid:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
162 -DModule_vtkIOCore:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
163 -DModule_vtkIOGeometry:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
164 -DModule_vtkIOLegacy:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
165 -DModule_vtkWrappingPythonCore:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
166 -DModule_vtkIOPLY:BOOL=ON \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
167 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/lib/python2.7/site-packages \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
168 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/bin/python \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
169 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/lib/libpython2.7.dylib \
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
170 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . &amp;&amp;
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
171 make -j 8 &amp;&amp;
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
172 make install
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
173
0
a357536fb363 Uploaded
greg
parents:
diff changeset
174 </action>
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
175 <action type="move_directory_files">
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
176 <source_directory>../build/bin</source_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
177 <destination_directory>$INSTALL_DIR/bin</destination_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
178 </action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
179 <action type="move_directory_files">
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
180 <source_directory>../build/include</source_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
181 <destination_directory>$INSTALL_DIR/include</destination_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
182 </action>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
183 <action type="move_directory_files">
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
184 <source_directory>../build/lib</source_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
185 <destination_directory>$INSTALL_DIR/lib</destination_directory>
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
186 </action>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
187
a357536fb363 Uploaded
greg
parents:
diff changeset
188 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python -->
a357536fb363 Uploaded
greg
parents:
diff changeset
189 <action type="make_directory">$TMP_WORK_DIR/pycsg</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
190 <action type="change_directory">$TMP_WORK_DIR/pycsg</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
191 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
192 <action type="change_directory">pycsg</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
193 <action type="shell_command">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
194
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
195 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
196 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
0
a357536fb363 Uploaded
greg
parents:
diff changeset
197 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
198
0
a357536fb363 Uploaded
greg
parents:
diff changeset
199 </action>
a357536fb363 Uploaded
greg
parents:
diff changeset
200
a357536fb363 Uploaded
greg
parents:
diff changeset
201 <!-- Install and compile icqsol version 1.0 as a package in the above Python -->
a357536fb363 Uploaded
greg
parents:
diff changeset
202 <action type="make_directory">$TMP_WORK_DIR/icqsol</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
203 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
204 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
205 <action type="change_directory">icqsol</action>
a357536fb363 Uploaded
greg
parents:
diff changeset
206 <action type="shell_command">
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
207
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
208 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp;
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
209 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR &amp;&amp;
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
210 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
211
0
a357536fb363 Uploaded
greg
parents:
diff changeset
212 </action>
a357536fb363 Uploaded
greg
parents:
diff changeset
213
a357536fb363 Uploaded
greg
parents:
diff changeset
214 <action type="set_environment">
a357536fb363 Uploaded
greg
parents:
diff changeset
215 <!--
a357536fb363 Uploaded
greg
parents:
diff changeset
216 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
a357536fb363 Uploaded
greg
parents:
diff changeset
217 the right Python from the environment bin directory. The way Anaconda environments work is that they
a357536fb363 Uploaded
greg
parents:
diff changeset
218 hard link everything that is installed into the environment. For all intents and purposes, this means
a357536fb363 Uploaded
greg
parents:
diff changeset
219 that each environment is a completely separate installation of Python and all the packages. By using
a357536fb363 Uploaded
greg
parents:
diff changeset
220 hard links, this is done efficiently. Thus, there's no need to mess with PYTHONPATH because the Python
a357536fb363 Uploaded
greg
parents:
diff changeset
221 binary in the environment already searches the site-packages in the environment, and the lib of the
a357536fb363 Uploaded
greg
parents:
diff changeset
222 environment, and so on.
a357536fb363 Uploaded
greg
parents:
diff changeset
223 -->
a357536fb363 Uploaded
greg
parents:
diff changeset
224 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
4
789f4e7df861 Uploaded
greg
parents: 3
diff changeset
225 <environment_variable action="prepend_to" name="DYLD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
0
a357536fb363 Uploaded
greg
parents:
diff changeset
226 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
a357536fb363 Uploaded
greg
parents:
diff changeset
227 </action>
a357536fb363 Uploaded
greg
parents:
diff changeset
228 </actions>
a357536fb363 Uploaded
greg
parents:
diff changeset
229 </actions_group>
a357536fb363 Uploaded
greg
parents:
diff changeset
230 </install>
a357536fb363 Uploaded
greg
parents:
diff changeset
231 <readme>
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
232
0
a357536fb363 Uploaded
greg
parents:
diff changeset
233 This installation recipe installs the Anaconda version 2.3.0 of the Python programming language
a357536fb363 Uploaded
greg
parents:
diff changeset
234 version 2.7.10. Anaconda is a completely free Python distribution (including for commercial use
a357536fb363 Uploaded
greg
parents:
diff changeset
235 and redistribution). It includes more than 300 of the most popular Python packages for science,
a357536fb363 Uploaded
greg
parents:
diff changeset
236 math, engineering, and data analysis. This list of packages is available at
a357536fb363 Uploaded
greg
parents:
diff changeset
237 http://docs.continuum.io/anaconda/pkg-docs.
a357536fb363 Uploaded
greg
parents:
diff changeset
238
a357536fb363 Uploaded
greg
parents:
diff changeset
239 1) VTK version 6.3.0
a357536fb363 Uploaded
greg
parents:
diff changeset
240
a357536fb363 Uploaded
greg
parents:
diff changeset
241 The Visualization Toolkit (VTK) is an open-source, freely available software system for 3D
a357536fb363 Uploaded
greg
parents:
diff changeset
242 computer graphics, modeling, image processing, volume rendering, scientific visualization, and
a357536fb363 Uploaded
greg
parents:
diff changeset
243 information visualization. VTK also includes ancillary support for 3D interaction widgets, two-
a357536fb363 Uploaded
greg
parents:
diff changeset
244 and three-dimensional annotation, and parallel computing. At its core, VTK is implemented as a
a357536fb363 Uploaded
greg
parents:
diff changeset
245 C++ toolkit, requiring users to build applications by combining various objects into an application.
a357536fb363 Uploaded
greg
parents:
diff changeset
246 The system also supports automated wrapping of the C++ core into Python, Java, and Tcl, so VTK
a357536fb363 Uploaded
greg
parents:
diff changeset
247 applications may also be written using these interpreted programming languages.
a357536fb363 Uploaded
greg
parents:
diff changeset
248
a357536fb363 Uploaded
greg
parents:
diff changeset
249 VTK employs Kitware’s Quality Software Process (CMake, CTest, CDash, and CPack) to build, test,
a357536fb363 Uploaded
greg
parents:
diff changeset
250 and package the system, making VTK a cross-platform application dependent on test-driven development
a357536fb363 Uploaded
greg
parents:
diff changeset
251 and extreme programming, and enabling the application to produce high-quality, robust code. VTK is
a357536fb363 Uploaded
greg
parents:
diff changeset
252 used world-wide in commercial applications, as well as in research and development. It is the basis
a357536fb363 Uploaded
greg
parents:
diff changeset
253 for many advanced visualization applications such as ParaView, VisIt, VisTrails, Slicer, MayaVi, and
a357536fb363 Uploaded
greg
parents:
diff changeset
254 OsiriX.
a357536fb363 Uploaded
greg
parents:
diff changeset
255
a357536fb363 Uploaded
greg
parents:
diff changeset
256 3) Pycsg version 0.3.0
a357536fb363 Uploaded
greg
parents:
diff changeset
257
a357536fb363 Uploaded
greg
parents:
diff changeset
258 Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean operations like union and
a357536fb363 Uploaded
greg
parents:
diff changeset
259 intersection to combine 3D solids. This library implements CSG operations on meshes elegantly and
a357536fb363 Uploaded
greg
parents:
diff changeset
260 concisely using BSP trees, and is meant to serve as an easily understandable implementation of the
a357536fb363 Uploaded
greg
parents:
diff changeset
261 algorithm. All edge cases involving overlapping coplanar polygons in both solids are correctly handled.
a357536fb363 Uploaded
greg
parents:
diff changeset
262
a357536fb363 Uploaded
greg
parents:
diff changeset
263 4) Pytriangle version 1.0
a357536fb363 Uploaded
greg
parents:
diff changeset
264
a357536fb363 Uploaded
greg
parents:
diff changeset
265 Pytriangle is a python interface to the 2D triangulation program originally written by Jonathan Richard Shewchuck
a357536fb363 Uploaded
greg
parents:
diff changeset
266
a357536fb363 Uploaded
greg
parents:
diff changeset
267 5) Icqsol version 1.0
a357536fb363 Uploaded
greg
parents:
diff changeset
268
a357536fb363 Uploaded
greg
parents:
diff changeset
269 Icqsol is a collection of tools for constructing and solving partial differential equations.
1
ee534b2a2094 Uploaded
greg
parents: 0
diff changeset
270
0
a357536fb363 Uploaded
greg
parents:
diff changeset
271
a357536fb363 Uploaded
greg
parents:
diff changeset
272 </readme>
a357536fb363 Uploaded
greg
parents:
diff changeset
273 </package>
a357536fb363 Uploaded
greg
parents:
diff changeset
274 </tool_dependency>