Mercurial > hg > autobot
comparison setup.py @ 239:5473f1261547
remove obselescent comment
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 22 Dec 2011 14:21:05 -0800 |
parents | 08610b14a2c1 |
children | 13107cdc1e33 |
comparison
equal
deleted
inserted
replaced
238:08610b14a2c1 | 239:5473f1261547 |
---|---|
35 create-autobot-master = autobot.template:create_master | 35 create-autobot-master = autobot.template:create_master |
36 create-autobot-slave = autobot.template:create_slave | 36 create-autobot-slave = autobot.template:create_slave |
37 create-autobot-project = autobot.template:create_project | 37 create-autobot-project = autobot.template:create_project |
38 """, | 38 """, |
39 ) | 39 ) |
40 | |
41 # def install_hg(sources): | |
42 # """ | |
43 # - sources : dict of hg sources to install: {'package': 'http://hg...'} | |
44 # """ | |
45 # try: | |
46 # from subprocess import check_call as call | |
47 # except: | |
48 # from subprocess import call | |
49 | |
50 # # see if you can find site-packages | |
51 # import site | |
52 # site_dir = os.path.abspath(os.path.dirname(site.__file__)) | |
53 # site_packages = os.path.join(site_dir, 'site-packages') | |
54 # if not (os.path.exists(site_packages) and os.path.isdir(site_packages)): | |
55 # raise IOError("Cannot find site-packages directory") | |
56 | |
57 # # figure out what you need to install | |
58 # missing = set() | |
59 # for source in sources: | |
60 # try: | |
61 # __import__(source) | |
62 # except ImportError: | |
63 # missing.add(source) | |
64 | |
65 # # install it | |
66 # for source in missing: | |
67 # call(['hg', 'clone', sources[source], | |
68 # os.path.join(site_packages, source)]) | |
69 | |
70 # ### install unpackaged dependencies | |
71 # source = {'buildbotcustom': 'http://hg.mozilla.org/build/buildbotcustom'} | |
72 # if set(['install', 'develop']).intersection(sys.argv[1:]): | |
73 # try: | |
74 # install_hg(source) | |
75 # except: | |
76 # print 'Please make sure the source is installed:' | |
77 # print source |