[Yt-svn] yt-commit r722 - branches/yt-generalization/scripts
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Thu Aug 7 09:27:36 PDT 2008
Author: mturk
Date: Thu Aug 7 09:27:35 2008
New Revision: 722
URL: http://yt.spacepope.org/changeset/722
Log:
Updated the yt-generalization branch to have the yt script that's in trunk.
Modified:
branches/yt-generalization/scripts/yt
Modified: branches/yt-generalization/scripts/yt
==============================================================================
--- branches/yt-generalization/scripts/yt (original)
+++ branches/yt-generalization/scripts/yt Thu Aug 7 09:27:35 2008
@@ -1,8 +1,6 @@
-#!/bin/sh
+#!python
-if [ $DISPLAY ]
-then
- ipython -pylab -p yt $*
-else
- ipython -p yt $*
-fi
+import yt.mods, code
+
+interp = code.InteractiveConsole(yt.mods.__dict__)
+interp.interact("Welcome to yt")
More information about the yt-svn
mailing list