0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="lapack" version="3.4.2">
|
|
4 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="atlas" version="3.10.1">
|
|
7 <repository changeset_revision="597c0e54eded" name="package_atlas_3_10" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="numpy" version="1.7.1">
|
|
10 <repository changeset_revision="c75482be1d3a" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
|
12 <package name="scipy" version="0.12.0">
|
|
13 <repository changeset_revision="aa5180c893f5" name="package_scipy_0_12" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
14 </package>
|
|
15 <package name="matplotlib" version="1.2.1">
|
|
16 <repository changeset_revision="9d164359606b" name="package_matplotlib_1_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.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="597c0e54eded" name="package_atlas_3_10" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
25 <package name="atlas" version="3.10.1" />
|
|
26 </repository>
|
|
27 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
28 <package name="lapack" version="3.4.2" />
|
|
29 </repository>
|
|
30 <repository changeset_revision="c75482be1d3a" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
31 <package name="numpy" version="1.7.1" />
|
|
32 </repository>
|
|
33 <repository changeset_revision="aa5180c893f5" name="package_scipy_0_12" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
34 <package name="scipy" version="0.12.0" />
|
|
35 </repository>
|
|
36 <repository changeset_revision="9d164359606b" name="package_matplotlib_1_2" owner="iuc" toolshed="http://toolshed.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 language="cheetah" type="template_command">
|
|
43 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &&
|
|
44
|
|
45 #if env.get('ATLAS_LIB_DIR', False):
|
|
46 export ATLAS=$env.ATLAS_LIB_DIR/libatlas.a &&
|
|
47 #end if
|
|
48 #if env.get('LAPACK_LIB_DIR', False):
|
|
49 export BLAS=$env.LAPACK_LIB_DIR/libblas.a &&
|
|
50 export LAPACK=$env.LAPACK_LIB_DIR/liblapack.a &&
|
|
51 #end if
|
|
52
|
|
53 export PATH=\$PATH:$env.PATH_NUMPY &&
|
|
54 export PYTHONPATH=\$PYTHONPATH:$env.PYTHONPATH_NUMPY:$env.PYTHONPATH_SCIPY:$env.PYTHONPATH_MATPLOTLIB &&
|
|
55
|
|
56 python setup.py install --install-lib $env.INSTALL_DIR/lib/python
|
|
57 </action>
|
|
58 <action type="set_environment">
|
|
59 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
60 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
61 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
62 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
63 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_SCIPY]</environment_variable>
|
|
64 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_SCIPY]</environment_variable>
|
|
65 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_MATPLOTLIB]</environment_variable>
|
|
66
|
|
67 <environment_variable action="set_to" name="PYTHONPATH_SCIKIT_LEARN">$INSTALL_DIR/lib/python</environment_variable>
|
|
68 </action>
|
|
69 </actions>
|
|
70 </install>
|
|
71 <readme>Compiling scikit-learn requires a C compiler (typically gcc). The PYTHONPATH for scikit-learn can be accessed through PYTHONPATH_SCIKIT_LEARN.</readme>
|
|
72 </package>
|
|
73 </tool_dependency>
|