changeset 409:dc64beded724

pt deux and such
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 04 Aug 2013 10:57:10 -0700
parents 705dc5cfd68d
children ffa08f0de165
files python/install_config.py
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/install_config.py	Sun Aug 04 10:31:11 2013 -0700
+++ b/python/install_config.py	Sun Aug 04 10:57:10 2013 -0700
@@ -36,6 +36,11 @@
 
 class InitializeRepository(Step):
     """make the home directory a repository"""
+    commands = [
+        ['hg', 'init'],
+        ['hg', 'pull', SRC],
+        ['hg', 'update', '-C'],
+        ]
 
 commands = [
     ['hg', 'init'],
@@ -61,6 +66,8 @@
 f.close()
 
 def install_develop(package):
+    """install k0s.ware for development"""
+
     src = 'http://k0s.org/hg/%s' % package
     directory = '%s/src/%s' % (package, package)
     commands = [ ['virtualenv/virtualenv.py', package],
@@ -107,8 +114,11 @@
     usage = '%prog [options]'
     parser = optparse.OptionParser(usage=usage, description=__doc__)
     options, args = parser.parse_args()
+    return
 
     steps = [InitializeRepository]
-
+    for step in steps:
+        
+        
 if __name__ == '__main__':
     main()