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="68df9078bf69" 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="40db34c904df" 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="cd2e7872a8eb" 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="dd81b71dff1b" 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.14.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.14.1.tar.gz</action>
|
|
23 <action type="set_environment_for_install">
|
|
24 <repository changeset_revision="68df9078bf69" 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="40db34c904df" 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="cd2e7872a8eb" 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="dd81b71dff1b" 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 language="cheetah" type="template_command">
|
1
|
43 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &&
|
0
|
44
|
|
45 #if env.get('ATLAS_LIB_DIR', False):
|
1
|
46 export ATLAS=$env.ATLAS_LIB_DIR/libatlas.a &&
|
0
|
47 #end if
|
|
48 #if env.get('LAPACK_LIB_DIR', False):
|
1
|
49 export BLAS=$env.LAPACK_LIB_DIR/libblas.a &&
|
|
50 export LAPACK=$env.LAPACK_LIB_DIR/liblapack.a &&
|
0
|
51 #end if
|
|
52
|
1
|
53 export PATH=\$PATH:$env.PATH_NUMPY &&
|
|
54 export PYTHONPATH=\$PYTHONPATH:$env.PYTHONPATH_NUMPY:$env.PYTHONPATH_SCIPY:$env.PYTHONPATH_MATPLOTLIB &&
|
0
|
55
|
1
|
56 python setup.py install --install-lib $env.INSTALL_DIR/lib/python
|
0
|
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>
|
|
72 Compiling scikit-learn requires a C compiler (typically gcc).
|
|
73 The PYTHONPATH for scikit-learn can be accessed through PYTHONPATH_SCIKIT_LEARN.
|
|
74
|
|
75 Wrapper development: https://github.com/bgruening/galaxytools/tree/master/orphan_tool_dependencies
|
|
76 </readme>
|
|
77 </package>
|
|
78 </tool_dependency>
|