0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="tiff" version="4.0.3">
|
|
4 <repository changeset_revision="e35a4a8b7e33" name="package_tiff_4_0_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="freetype" version="2.4.11">
|
|
7 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="zlib" version="1.2.8">
|
|
10 <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
|
12 <package name="imaging" version="1.1.7">
|
|
13 <install version="1.0">
|
|
14 <actions>
|
|
15 <action type="download_by_url">http://effbot.org/downloads/Imaging-1.1.7.tar.gz</action>
|
|
16 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
17 <action type="set_environment_for_install">
|
|
18 <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
19 <package name="zlib" version="1.2.8" />
|
|
20 </repository>
|
|
21 <repository changeset_revision="e35a4a8b7e33" name="package_tiff_4_0_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
22 <package name="tiff" version="4.0.3" />
|
|
23 </repository>
|
|
24 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
25 <package name="freetype" version="2.4.11" />
|
|
26 </repository>
|
|
27 </action>
|
|
28 <action type="shell_command">
|
|
29 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
30 sed -i.bak "s#ZLIB_ROOT = None#ZLIB_ROOT = '$ZLIB_ROOT_PATH'#" setup.py &&
|
|
31 sed -i.bak "s#TIFF_ROOT = None#TIFF_ROOT = '$TIFF_ROOT'#" setup.py &&
|
|
32 sed -i.bak "s#FREETYPE_ROOT = None#FREETYPE_ROOT = '$FREETYPE_ROOT'#" setup.py &&
|
|
33 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
34 </action>
|
|
35 <action type="set_environment">
|
|
36 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
37 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
38 <environment_variable action="set_to" name="PYTHONPATH_IMAGING">$INSTALL_DIR/lib/python</environment_variable>
|
|
39 <environment_variable action="set_to" name="PATH_IMAGING">$INSTALL_DIR/bin</environment_variable>
|
|
40 </action>
|
|
41 </actions>
|
|
42 </install>
|
|
43 <readme />
|
|
44 </package>
|
|
45 </tool_dependency>
|