Mercurial > repos > morinlab > package_requests_2_0_1
diff tool_dependencies.xml @ 0:04309c55b9a8 draft default tip
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/packages/package_requests_2_0_1 commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
| author | morinlab |
|---|---|
| date | Tue, 11 Oct 2016 13:56:47 -0400 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Tue Oct 11 13:56:47 2016 -0400 @@ -0,0 +1,16 @@ +<tool_dependency> + <package name="requests" version="2.0.1"> + <install version="1.0"> + <actions> + <action type="download_by_url">https://pypi.python.org/packages/source/r/requests/requests-2.0.1.tar.gz</action> + <action type="make_directory">$INSTALL_DIR/lib/python</action> + <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> + <action type="set_environment"> + <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable name="PYTHONPATH_REQUESTS" action="set_to">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> + </action> + </actions> + </install> + </package> +</tool_dependency>
