Description: Make vistrails a standalone executable in /usr/bin
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2011-10-04
Forwarded: no

Index: vistrails-2.0.alpha~1/vistrails/vistrails.py
===================================================================
--- vistrails-2.0.alpha~1.orig/vistrails/vistrails.py	2011-10-03 16:16:39.000000000 +0100
+++ vistrails-2.0.alpha~1/vistrails/vistrails.py	2011-10-03 16:28:09.000000000 +0100
@@ -1,3 +1,4 @@
+#!/usr/bin/python
 ###############################################################################
 ##
 ## Copyright (C) 2006-2011, University of Utah. 
@@ -33,6 +34,9 @@
 ###############################################################################
 """Main file for the VisTrails distribution."""
 
+import sys
+sys.path.append('/usr/share/pyshared/vistrails')
+
 def disable_lion_restore():
     """ Prevent Mac OS 10.7 to restore windows state since it would
     make Qt 4.7.3 unstable due to its lack of handling Cocoa's Main
