0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
2
|
4 <repository changeset_revision="796c0081adad" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="scipy" version="0.12.0">
|
2
|
7 <repository changeset_revision="d277bf006c3e" name="package_scipy_0_12" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
8 </package>
|
|
9 <package name="matplotlib" version="1.2.1">
|
|
10 <repository changeset_revision="9d164359606b" name="package_matplotlib_1_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
|
12 <package name="scikit_learn" version="0.14.1">
|
|
13 <install version="1.0">
|
|
14 <actions>
|
|
15 <action type="download_by_url">https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-0.14.1.tar.gz</action>
|
|
16 <action type="set_environment_for_install">
|
|
17 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
18 <package name="lapack" version="3.4.2" />
|
|
19 </repository>
|
2
|
20 <repository changeset_revision="796c0081adad" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
0
|
21 <package name="numpy" version="1.7.1" />
|
|
22 </repository>
|
2
|
23 <repository changeset_revision="d277bf006c3e" name="package_scipy_0_12" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
0
|
24 <package name="scipy" version="0.12.0" />
|
|
25 </repository>
|
|
26 <repository changeset_revision="9d164359606b" name="package_matplotlib_1_2" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
27 <package name="matplotlib" version="1.2.1" />
|
|
28 </repository>
|
|
29 </action>
|
|
30
|
|
31 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
32 <action language="cheetah" type="template_command">
|
|
33 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &&
|
|
34
|
|
35 export PATH=\$PATH:$env.PATH_NUMPY &&
|
|
36 export PYTHONPATH=\$PYTHONPATH:$env.PYTHONPATH_NUMPY:$env.PYTHONPATH_SCIPY:$env.PYTHONPATH_MATPLOTLIB &&
|
|
37
|
|
38 python setup.py install --install-lib $env.INSTALL_DIR/lib/python
|
|
39 </action>
|
|
40 <action type="set_environment">
|
|
41 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
42 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
43 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
44 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
45 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_SCIPY]</environment_variable>
|
|
46 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_SCIPY]</environment_variable>
|
|
47 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_MATPLOTLIB]</environment_variable>
|
|
48
|
|
49 <environment_variable action="set_to" name="PYTHONPATH_SCIKIT_LEARN">$INSTALL_DIR/lib/python</environment_variable>
|
|
50 </action>
|
|
51 </actions>
|
|
52 </install>
|
|
53 <readme>
|
|
54 Compiling scikit-learn requires a C compiler (typically gcc).
|
|
55 The PYTHONPATH for scikit-learn can be accessed through PYTHONPATH_SCIKIT_LEARN.
|
|
56
|
|
57 Wrapper development: https://github.com/bgruening/galaxytools/tree/master/orphan_tool_dependencies
|
|
58 </readme>
|
|
59 </package>
|
|
60 </tool_dependency>
|