0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
1
|
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>
|
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>
|
|
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
|
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 -->
|
|
22 <action type="shell_command">
|
1
|
23
|
|
24 export PATH=$INSTALL_DIR/bin:$PATH &&
|
|
25 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &&
|
|
26 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &&
|
|
27 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &&
|
0
|
28 conda install -c https://conda.anaconda.org/anaconda vtk --yes
|
1
|
29
|
0
|
30 </action>
|
|
31
|
|
32 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python -->
|
|
33 <action type="make_directory">$TMP_WORK_DIR/pycsg</action>
|
|
34 <action type="change_directory">$TMP_WORK_DIR/pycsg</action>
|
|
35 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action>
|
|
36 <action type="change_directory">pycsg</action>
|
|
37 <action type="shell_command">
|
1
|
38
|
|
39 export PATH=$INSTALL_DIR/bin:$PATH &&
|
|
40 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &&
|
|
41 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &&
|
|
42 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &&
|
0
|
43 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
|
1
|
44
|
0
|
45 </action>
|
|
46
|
|
47 <!-- Install and compile pytriangle version 1.0 as a package in the above Python -->
|
|
48 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action>
|
|
49 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action>
|
|
50 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action>
|
|
51 <action type="change_directory">pytriangle</action>
|
|
52 <action type="shell_command">
|
1
|
53
|
|
54 export PATH=$INSTALL_DIR/bin:$PATH &&
|
|
55 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &&
|
|
56 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &&
|
|
57 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &&
|
0
|
58 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
|
1
|
59
|
0
|
60 </action>
|
|
61
|
|
62 <!-- Install and compile icqsol version 1.0 as a package in the above Python -->
|
|
63 <action type="make_directory">$TMP_WORK_DIR/icqsol</action>
|
|
64 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
|
|
65 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
|
|
66 <action type="change_directory">icqsol</action>
|
|
67 <action type="shell_command">
|
1
|
68
|
|
69 export PATH=$INSTALL_DIR/bin:$PATH &&
|
|
70 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &&
|
|
71 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH &&
|
0
|
72 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR
|
1
|
73
|
0
|
74 </action>
|
|
75
|
|
76 <action type="set_environment">
|
|
77 <!--
|
|
78 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
|
|
79 the right Python from the environment bin directory.
|
|
80 -->
|
|
81 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
82 <environment_variable action="set_to" name="ANACONDAHOME">$INSTALL_DIR</environment_variable>
|
|
83 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
|
|
84 </action>
|
|
85 </actions>
|
|
86
|
1
|
87 <actions architecture="x86_64" os="darwin">
|
0
|
88 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 -->
|
1
|
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>
|
0
|
90 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action>
|
|
91
|
|
92 <!-- Install VTK 6.3.0 into the above Python -->
|
|
93 <action type="shell_command">
|
1
|
94
|
|
95 export PATH=$INSTALL_DIR/bin:$PATH &&
|
|
96 export PYTHONPATH=$INSTALL_DIR/lib/python2.7/site-packages:$INSTALL_DIR/lib/python2.7:$INSTALL_DIR/lib:$INSTALL_DIR:$PYTHONPATH &&
|
|
97 export DYLD_LIBRARY_PATH=$INSTALL_DIR/lib:$DYLD_LIBRARY_PATH &&
|
|
98 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &&
|
0
|
99 conda install -c https://conda.anaconda.org/anaconda vtk --yes
|
1
|
100
|
0
|
101 </action>
|
|
102 <action type="shell_command">
|
|
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
|
|
104 </action>
|
|
105
|
|
106 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python -->
|
|
107 <action type="make_directory">$TMP_WORK_DIR/pycsg</action>
|
|
108 <action type="change_directory">$TMP_WORK_DIR/pycsg</action>
|
|
109 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action>
|
|
110 <action type="change_directory">pycsg</action>
|
|
111 <action type="shell_command">
|
1
|
112
|
|
113 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH &&
|
|
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 &&
|
|
115 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH &&
|
|
116 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &&
|
0
|
117 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
|
1
|
118
|
0
|
119 </action>
|
|
120
|
|
121 <!-- Install and compile pytriangle version 1.0 as a package in the above Python -->
|
|
122 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action>
|
|
123 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action>
|
|
124 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action>
|
|
125 <action type="change_directory">pytriangle</action>
|
|
126 <action type="shell_command">
|
1
|
127
|
|
128 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH &&
|
|
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 &&
|
|
130 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH &&
|
0
|
131 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
132 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
|
1
|
133
|
0
|
134 </action>
|
|
135
|
|
136 <!-- Install and compile icqsol version 1.0 as a package in the above Python -->
|
|
137 <action type="make_directory">$TMP_WORK_DIR/icqsol</action>
|
|
138 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
|
|
139 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
|
|
140 <action type="change_directory">icqsol</action>
|
|
141 <action type="shell_command">
|
1
|
142
|
|
143 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH &&
|
|
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 &&
|
|
145 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH &&
|
0
|
146 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR
|
1
|
147
|
0
|
148 </action>
|
|
149
|
|
150 <action type="set_environment">
|
|
151 <!--
|
|
152 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
|
|
153 the right Python from the environment bin directory. The way Anaconda environments work is that they
|
|
154 hard link everything that is installed into the environment. For all intents and purposes, this means
|
|
155 that each environment is a completely separate installation of Python and all the packages. By using
|
|
156 hard links, this is done efficiently. Thus, there's no need to mess with PYTHONPATH because the Python
|
|
157 binary in the environment already searches the site-packages in the environment, and the lib of the
|
|
158 environment, and so on.
|
|
159 -->
|
|
160 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
161 <environment_variable action="set_to" name="ANACONDAHOME">$INSTALL_DIR</environment_variable>
|
|
162 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
|
|
163 </action>
|
|
164 </actions>
|
|
165 </actions_group>
|
|
166 </install>
|
|
167 <readme>
|
1
|
168
|
0
|
169 This installation recipe installs the Anaconda version 2.3.0 of the Python programming language
|
|
170 version 2.7.10. Anaconda is a completely free Python distribution (including for commercial use
|
|
171 and redistribution). It includes more than 300 of the most popular Python packages for science,
|
|
172 math, engineering, and data analysis. This list of packages is available at
|
|
173 http://docs.continuum.io/anaconda/pkg-docs.
|
|
174
|
|
175 1) VTK version 6.3.0
|
|
176
|
|
177 The Visualization Toolkit (VTK) is an open-source, freely available software system for 3D
|
|
178 computer graphics, modeling, image processing, volume rendering, scientific visualization, and
|
|
179 information visualization. VTK also includes ancillary support for 3D interaction widgets, two-
|
|
180 and three-dimensional annotation, and parallel computing. At its core, VTK is implemented as a
|
|
181 C++ toolkit, requiring users to build applications by combining various objects into an application.
|
|
182 The system also supports automated wrapping of the C++ core into Python, Java, and Tcl, so VTK
|
|
183 applications may also be written using these interpreted programming languages.
|
|
184
|
|
185 VTK employs Kitware’s Quality Software Process (CMake, CTest, CDash, and CPack) to build, test,
|
|
186 and package the system, making VTK a cross-platform application dependent on test-driven development
|
|
187 and extreme programming, and enabling the application to produce high-quality, robust code. VTK is
|
|
188 used world-wide in commercial applications, as well as in research and development. It is the basis
|
|
189 for many advanced visualization applications such as ParaView, VisIt, VisTrails, Slicer, MayaVi, and
|
|
190 OsiriX.
|
|
191
|
|
192 3) Pycsg version 0.3.0
|
|
193
|
|
194 Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean operations like union and
|
|
195 intersection to combine 3D solids. This library implements CSG operations on meshes elegantly and
|
|
196 concisely using BSP trees, and is meant to serve as an easily understandable implementation of the
|
|
197 algorithm. All edge cases involving overlapping coplanar polygons in both solids are correctly handled.
|
|
198
|
|
199 4) Pytriangle version 1.0
|
|
200
|
|
201 Pytriangle is a python interface to the 2D triangulation program originally written by Jonathan Richard Shewchuck
|
|
202
|
|
203 5) Icqsol version 1.0
|
|
204
|
|
205 Icqsol is a collection of tools for constructing and solving partial differential equations.
|
1
|
206
|
0
|
207
|
|
208 </readme>
|
|
209 </package>
|
|
210 </tool_dependency>
|