|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="lapack" version="3.4.2">
|
|
|
4 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
5 </package>
|
|
|
6 <package name="atlas" version="3.10.1">
|
|
|
7 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
8 </package>
|
|
|
9 <package name="numpy" version="1.7.1">
|
|
|
10 <repository changeset_revision="ad6ebe2c75ef" name="package_numpy_1_7" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
11 </package>
|
|
|
12 <package name="scipy" version="0.12.0">
|
|
|
13 <repository changeset_revision="e4f395310680" name="package_scipy_0_12" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
14 </package>
|
|
|
15 <package name="matplotlib" version="1.2.1">
|
|
|
16 <repository changeset_revision="c888aa8ed318" name="package_matplotlib_1_2" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
17 </package>
|
|
|
18
|
|
|
19 <package name="scikit_learn" version="0.13.1">
|
|
|
20 <install version="1.0">
|
|
|
21 <actions>
|
|
|
22 <action type="download_by_url">https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-0.13.1.tar.gz</action>
|
|
|
23 <action type="set_environment_for_install">
|
|
|
24 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
25 <package name="atlas" version="3.10.1" />
|
|
|
26 </repository>
|
|
|
27 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
28 <package name="lapack" version="3.4.2" />
|
|
|
29 </repository>
|
|
|
30 <repository changeset_revision="ad6ebe2c75ef" name="package_numpy_1_7" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
31 <package name="numpy" version="1.7.1" />
|
|
|
32 </repository>
|
|
|
33 <repository changeset_revision="e4f395310680" name="package_scipy_0_12" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
34 <package name="scipy" version="0.12.0" />
|
|
|
35 </repository>
|
|
|
36 <repository changeset_revision="c888aa8ed318" name="package_matplotlib_1_2" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
37 <package name="matplotlib" version="1.2.1" />
|
|
|
38 </repository>
|
|
|
39 </action>
|
|
|
40
|
|
|
41 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
|
42 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
|
43 export BLAS=$LAPACK_LIB_DIR/libblas.a &&
|
|
|
44 export LAPACK=$LAPACK_LIB_DIR/liblapack.a &&
|
|
|
45 export ATLAS=$ATLAS_LIB_DIR/libatlas.a &&
|
|
|
46 export PATH=$PATH:$PATH_NUMPY &&
|
|
|
47 export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY:$PYTHONPATH_SCIPY:$PYTHONPATH_MATPLOTLIB &&
|
|
|
48
|
|
|
49 python setup.py install --home $INSTALL_DIR</action>
|
|
|
50 <action type="set_environment">
|
|
|
51 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
52 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
|
53 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
|
54 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
|
55 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_SCIPY]</environment_variable>
|
|
|
56 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_SCIPY]</environment_variable>
|
|
|
57 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_MATPLOTLIB]</environment_variable>
|
|
|
58
|
|
|
59 <environment_variable action="set_to" name="PYTHONPATH_SCIKIT_LEARN">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
60 </action>
|
|
|
61 </actions>
|
|
|
62 </install>
|
|
|
63 <readme>Compiling scikit-learn requires a C compiler (typically gcc). The PYTHONPATH for scikit-learn can be accessed through PYTHONPATH_SCIKIT_LEARN.</readme>
|
|
|
64 </package>
|
|
|
65 </tool_dependency>
|