comparison buttercup/buttercup.py @ 50:0c66ca55e336

reflect move to http://k0s.org/hg/toolbox/
author Jeff Hammel <k0scist@gmail.com>
date Sun, 11 May 2014 09:10:29 -0700
parents e3770a2530ff
children b717de8b384f
comparison
equal deleted inserted replaced
49:e3770a2530ff 50:0c66ca55e336
22 _message += "\n {}".format(message) 22 _message += "\n {}".format(message)
23 Exception.__init__(self, _message) 23 Exception.__init__(self, _message)
24 24
25 25
26 class Buttercup(object): 26 class Buttercup(object):
27 """k0sware software"""
27 28
28 # k0sware software
29 # TODO: make this a `package` (or more likely `python-package`)
30 # subtype
31 HG='http://k0s.org/hg' 29 HG='http://k0s.org/hg'
32 PACKAGES=['bitsyapps', 30 PACKAGES=['bitsyapps',
33 'bitsyauth', 31 'bitsyauth',
34 'bitsyblog', 32 'bitsyblog',
35 'bitsytweet', 33 'bitsytweet',
47 'montage', 45 'montage',
48 'pyloader', 46 'pyloader',
49 'redirector', 47 'redirector',
50 'relocator', 48 'relocator',
51 'svgsitemap', 49 'svgsitemap',
50 'toolbox',
52 'uploader', 51 'uploader',
53 'webob_view', 52 'webob_view',
54 'wordstream', 53 'wordstream',
55 'wsgintegrate'] 54 'wsgintegrate']
56 55
60 # TODO: this should all go in a `pip` requirements file 59 # TODO: this should all go in a `pip` requirements file
61 60
62 # base webapps and dependencies 61 # base webapps and dependencies
63 self.sources = {'hg': ['%s/%s' % (self.HG, package) 62 self.sources = {'hg': ['%s/%s' % (self.HG, package)
64 for package in self.PACKAGES ]} 63 for package in self.PACKAGES ]}
65 self.sources['git'] = ['git://github.com/mozilla/toolbox.git'] 64 self.sources['git'] = []
66 65
67 66
68 def install(self): 67 def install(self):
69 """install all software needed for this flower""" 68 """install all software needed for this flower"""
70 source_objs = source.sources(self.sources, srcdir=self.srcdir) 69 source_objs = source.sources(self.sources, srcdir=self.srcdir)