comparison python/install_config.py @ 31:4f07325e727a

interpolate strings
author Jeff Hammel <k0scist@gmail.com>
date Tue, 16 Mar 2010 11:52:26 -0400
parents 8344c7a9847c
children f878d9f62211
comparison
equal deleted inserted replaced
30:6c43389ce405 31:4f07325e727a
37 execute(*commands) 37 execute(*commands)
38 38
39 def install_develop(package): 39 def install_develop(package):
40 src = 'http://k0s.org/hg/%s' % package 40 src = 'http://k0s.org/hg/%s' % package
41 commands = [ ['virtualenv/virtualenv.py', package], 41 commands = [ ['virtualenv/virtualenv.py', package],
42 ['mkdir', '%s/src'], 42 ['mkdir', '%s/src' % package],
43 ['hg', 'clone', src, '%s/src/%s' % (package, package)], 43 ['hg', 'clone', src, '%s/src/%s' % (package, package)],
44 ['%s/bin/python', '%s/src/%s/setup.py', 'develop'] ] 44 ['%s/bin/python' % package, '%s/src/%s/setup.py' % (package, package), 'develop'] ]
45 execute(*commands) 45 execute(*commands)
46 46
47 # install some python 47 # install some python
48 install_develop('smartopen') 48 install_develop('smartopen')
49 49