[cig-commits] r15733 - in cs/pythia/trunk: . bin

leif at geodynamics.org leif at geodynamics.org
Wed Sep 30 21:01:56 PDT 2009


Author: leif
Date: 2009-09-30 21:01:56 -0700 (Wed, 30 Sep 2009)
New Revision: 15733

Added:
   cs/pythia/trunk/bin/
   cs/pythia/trunk/bin/idd.py
   cs/pythia/trunk/bin/ipad.py
   cs/pythia/trunk/bin/journald.py
Modified:
   cs/pythia/trunk/setup.py
Log:
Added daemon scripts.


Copied: cs/pythia/trunk/bin/idd.py (from rev 15732, vendor/pythia/v0.8/packages/pyre/applications/idd.py)
===================================================================
--- cs/pythia/trunk/bin/idd.py	                        (rev 0)
+++ cs/pythia/trunk/bin/idd.py	2009-10-01 04:01:56 UTC (rev 15733)
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+#                             Michael A.G. Aivazis
+#                      California Institute of Technology
+#                      (C) 1998-2005  All Rights Reserved
+#
+# {LicenseText}
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+
+
+def run():
+    import pyre.idd
+
+    app = pyre.idd.daemon()
+    return app.run(spawn=True)
+    
+
+if __name__ == "__main__":
+    run()
+
+
+# version
+__id__ = "$Id: idd.py,v 1.2 2005/03/09 07:04:15 aivazis Exp $"
+
+# End of file 

Copied: cs/pythia/trunk/bin/ipad.py (from rev 15732, vendor/pythia/v0.8/packages/pyre/applications/ipad.py)
===================================================================
--- cs/pythia/trunk/bin/ipad.py	                        (rev 0)
+++ cs/pythia/trunk/bin/ipad.py	2009-10-01 04:01:56 UTC (rev 15733)
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+#                             Michael A.G. Aivazis
+#                      California Institute of Technology
+#                      (C) 1998-2005  All Rights Reserved
+#
+# {LicenseText}
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+
+
+def run():
+    import pyre.ipa
+
+    app = pyre.ipa.daemon()
+    return app.run(spawn=True)
+    
+
+if __name__ == "__main__":
+    run()
+
+
+# version
+__id__ = "$Id: ipad.py,v 1.2 2005/03/11 07:57:54 aivazis Exp $"
+
+# End of file 

Copied: cs/pythia/trunk/bin/journald.py (from rev 15732, vendor/pythia/v0.8/packages/pyre/applications/journald.py)
===================================================================
--- cs/pythia/trunk/bin/journald.py	                        (rev 0)
+++ cs/pythia/trunk/bin/journald.py	2009-10-01 04:01:56 UTC (rev 15733)
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+#                             Michael A.G. Aivazis
+#                      California Institute of Technology
+#                      (C) 1998-2005  All Rights Reserved
+#
+# {LicenseText}
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+
+
+def run():
+    import journal
+
+    app = journal.daemon()
+    return app.run(spawn=True)
+    
+
+if __name__ == "__main__":
+    run()
+
+
+# version
+__id__ = "$Id: journald.py,v 1.1 2005/03/14 05:48:18 aivazis Exp $"
+
+# End of file 

Modified: cs/pythia/trunk/setup.py
===================================================================
--- cs/pythia/trunk/setup.py	2009-10-01 03:19:42 UTC (rev 15732)
+++ cs/pythia/trunk/setup.py	2009-10-01 04:01:56 UTC (rev 15733)
@@ -13,6 +13,8 @@
     name = 'pythia', 
     version = '0.8.1.10',
 
+    scripts = ['bin/idd.py', 'bin/ipad.py', 'bin/journald.py'],
+
     zip_safe = False,
     packages = find_packages(),
     # include everything under version control



More information about the CIG-COMMITS mailing list