0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
1
|
3 <package name="numpy" version="1.9">
|
|
4 <repository changeset_revision="03eea94e534e" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="scipy" version="0.14">
|
|
7 <repository changeset_revision="36b2ca3477c2" name="package_scipy_0_14" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="matplotlib" version="1.4">
|
|
10 <repository changeset_revision="fb3374b02de2" name="package_matplotlib_1_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
|
12 <package name="scikit_learn" version="0.15">
|
|
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.15.2.tar.gz#md5=d9822ad0238e17b382a3c756ea94fe0d</action>
|
|
16 <action type="set_environment_for_install">
|
|
17 <repository changeset_revision="03eea94e534e" name="package_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
18 <package name="numpy" version="1.9" />
|
|
19 </repository>
|
|
20 <repository changeset_revision="36b2ca3477c2" name="package_scipy_0_14" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
21 <package name="scipy" version="0.14" />
|
|
22 </repository>
|
|
23 <repository changeset_revision="fb3374b02de2" name="package_matplotlib_1_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
24 <package name="matplotlib" version="1.4" />
|
|
25 </repository>
|
|
26 </action>
|
|
27
|
|
28 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
29 <action language="cheetah" type="template_command">
|
0
|
30 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &&
|
|
31
|
|
32 export PATH=\$PATH:$env.PATH_NUMPY &&
|
|
33 export PYTHONPATH=\$PYTHONPATH:$env.PYTHONPATH_NUMPY:$env.PYTHONPATH_SCIPY:$env.PYTHONPATH_MATPLOTLIB &&
|
|
34
|
|
35 python setup.py install --install-lib $env.INSTALL_DIR/lib/python
|
|
36 </action>
|
1
|
37 <action type="set_environment">
|
|
38 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
39 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
40 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
41 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
42 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_SCIPY]</environment_variable>
|
|
43 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_SCIPY]</environment_variable>
|
|
44 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_MATPLOTLIB]</environment_variable>
|
|
45
|
|
46 <environment_variable action="set_to" name="PYTHONPATH_SCIKIT_LEARN">$INSTALL_DIR/lib/python</environment_variable>
|
|
47 </action>
|
|
48 </actions>
|
|
49 </install>
|
|
50 <readme>
|
0
|
51 Compiling scikit-learn requires a C compiler (typically gcc).
|
|
52 The PYTHONPATH for scikit-learn can be accessed through PYTHONPATH_SCIKIT_LEARN.
|
|
53
|
|
54 Wrapper development: https://github.com/bgruening/galaxytools/tree/master/orphan_tool_dependencies
|
|
55 </readme>
|
1
|
56 </package>
|
0
|
57 </tool_dependency>
|