changeset 2:f6da901ffff8

jinja solution
author pieter.lukasse@wur.nl
date Thu, 22 Jan 2015 16:55:19 +0100
parents 964ec10d568c
children 910ebd2a6826
files README.rst nist_wrapper.xml tool_dependencies.xml
diffstat 3 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.rst	Thu Jan 22 16:15:30 2015 +0100
+++ b/README.rst	Thu Jan 22 16:55:19 2015 +0100
@@ -63,7 +63,7 @@
 
 
 License for third party NIST tool/library
-================================
+=========================================
 
 
 NIST 08 MS Library (demo) and MS Search v2.0f: 
--- a/nist_wrapper.xml	Thu Jan 22 16:15:30 2015 +0100
+++ b/nist_wrapper.xml	Thu Jan 22 16:55:19 2015 +0100
@@ -5,6 +5,11 @@
 	    -> make sure this gets executed: export DISPLAY=:995;
 	    -->
 	<description> Runs NIST's msseach program to match spectra against metabolite libraries</description>
+	
+    <requirements>
+      <requirement name="package" version="0.2">nist_wrapper_venv</requirement>
+    </requirements>	
+	
 	<command interpreter="export DISPLAY=:0; python">
 		nist_wrapper.py
 		"~/.wine/drive_c/NIST"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Jan 22 16:55:19 2015 +0100
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<tool_dependency>
+
+  <package name="nist_wrapper_venv" version="0.2">
+    <install version="1.0">
+      <actions>
+		
+		<action type="setup_virtualenv">
+		  jinja2==2.7.3
+		  six==1.7.2
+		  argparse==1.2.1
+		</action>
+
+      </actions>
+    </install>
+    <readme>A Python 2 virtual environment that includes the python packages  jinja2, six, argparse.</readme>
+  </package>
+
+</tool_dependency>
\ No newline at end of file