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