[hg] galaxy 1566: Add the guppy egg

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|

[hg] galaxy 1566: Add the guppy egg

Nate Coraor (nate@bx.psu.edu)
details:   http://www.bx.psu.edu/hg/galaxy/rev/510ff36caaf3
changeset: 1566:510ff36caaf3
user:      Nate Coraor <[hidden email]>
date:      Tue Oct 21 10:40:08 2008 -0400
description:
Add the guppy egg

2 file(s) affected in this change:

eggs.ini
lib/galaxy/eggs/__init__.py

diffs (37 lines):

diff -r 4f9042e95e60 -r 510ff36caaf3 eggs.ini
--- a/eggs.ini Mon Oct 20 16:51:51 2008 -0400
+++ b/eggs.ini Tue Oct 21 10:40:08 2008 -0400
@@ -22,6 +22,7 @@
 pysqlite = 2.3.5
 python_lzo = 1.08
 threadframe = 0.2
+guppy = 0.1.8
 
 [eggs:noplatform]
 Beaker = 0.5
@@ -70,6 +71,7 @@
 pysqlite = http://initd.org/pub/software/pysqlite/releases/2.3/2.3.5/pysqlite-2.3.5.tar.gz http://www.sqlite.org/sqlite-source-3_5_4.zip
 python_lzo = http://www.oberhumer.com/opensource/lzo/download/LZO-v1/python-lzo-1.08.tar.gz http://www.oberhumer.com/opensource/lzo/download/LZO-v1/lzo-1.08.tar.gz
 threadframe = http://www.majid.info/python/threadframe/threadframe-0.2.tar.gz
+guppy = http://pypi.python.org/packages/source/g/guppy/guppy-0.1.8.tar.gz
 Beaker = http://cheeseshop.python.org/packages/source/B/Beaker/Beaker-0.5.tar.gz
 docutils = http://downloads.sourceforge.net/docutils/docutils-0.4.tar.gz
 elementtree = http://effbot.org/downloads/elementtree-1.2.6-20050316.tar.gz
diff -r 4f9042e95e60 -r 510ff36caaf3 lib/galaxy/eggs/__init__.py
--- a/lib/galaxy/eggs/__init__.py Mon Oct 20 16:51:51 2008 -0400
+++ b/lib/galaxy/eggs/__init__.py Tue Oct 21 10:40:08 2008 -0400
@@ -490,6 +490,14 @@
                     return False
             except:
                 return False
+        elif egg_name == "guppy":
+            try:
+                if self.config.get( "app:main", "use_memdump" ) == "True":
+                    return True
+                else:
+                    return False
+            except:
+                return False
         elif egg_name == "MySQL_python":
             try:
                 if self.config.get( "app:main", "database_connection" ).startswith( "mysql://" ):