annotate tool_dependencies.xml @ 0:98b2f159a259 draft

Uploaded
author bgruening
date Thu, 15 Aug 2013 03:11:17 -0400
parents
children e949a14df33a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
1 <?xml version="1.0"?>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
2 <tool_dependency>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
3 <package name="numpy" version="1.7.1">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
4 <repository changeset_revision="74c21f9bdc39" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
5 </package>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
6 <package name="boost" version="1.53.0">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
7 <repository changeset_revision="dbdde1a2d0c5" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
8 </package>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
9
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
10 <package name="rdkit" version="2013_03_2">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
11 <install version="1.0">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
12 <actions>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
13 <!-- first action is always downloading -->
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
14 <action type="download_by_url">http://rdkit.googlecode.com/files/RDKit_2013_03_2.tgz</action>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
15
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
16 <!-- populate the environment variables from the dependend repos -->
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
17 <action type="set_environment_for_install">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
18 <repository changeset_revision="74c21f9bdc39" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
19 <package name="numpy" version="1.7.1" />
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
20 </repository>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
21 <repository changeset_revision="dbdde1a2d0c5" name="package_boost_1_53" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
22 <package name="boost" version="1.53.0" />
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
23 </repository>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
24 </action>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
25
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
26 <!-- PYTHONPATH_NUMPY is set in the numpy package -->
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
27 <action type="shell_command">export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib/ &amp;&amp;
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
28 export PYTHONPATH=$PYTHONPATH:`pwd`/ &amp;&amp;
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
29 mkdir build &amp;&amp;
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
30 cd build &amp;&amp;
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
31 cmake .. -DBOOST_ROOT=$BOOST_ROOT_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/rdkit/ -DRDK_INSTALL_INTREE=OFF -DPYTHON_NUMPY_INCLUDE_PATH=$PYTHONPATH_NUMPY/numpy/core/include/</action>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
32 <action type="shell_command">cd ./build &amp;&amp; make </action>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
33 <action type="shell_command">cd ./build &amp;&amp; make install</action>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
34
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
35 <action type="set_environment">
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
36 <environment_variable action="set_to" name="RDBASE">$INSTALL_DIR/rdkit</environment_variable>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
37 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/rdkit/lib/</environment_variable>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
38 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/rdkit/bin</environment_variable>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
39 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/rdkit/lib/python2.7/site-packages/</environment_variable>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
40 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
41 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[BOOST_ROOT_DIR]/lib/</environment_variable>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
42 </action>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
43 </actions>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
44 </install>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
45 <readme>Compiling rdkit requires cmake, python headers, sqlite3, flex and bison.</readme>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
46 </package>
98b2f159a259 Uploaded
bgruening
parents:
diff changeset
47 </tool_dependency>