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