Mercurial > hg > carton
comparison carton.py @ 21:46882eaebb59
consolidate and order TODO for generated script
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 18:04:21 -0700 |
parents | c6a03199d4bf |
children | 9c710f06e51d |
comparison
equal
deleted
inserted
replaced
20:e2c9a9a4d524 | 21:46882eaebb59 |
---|---|
115 subdir = os.path.join(srcdir, i) | 115 subdir = os.path.join(srcdir, i) |
116 if os.path.exists(os.path.join(srcdir, i, 'setup.py')): | 116 if os.path.exists(os.path.join(srcdir, i, 'setup.py')): |
117 call([python, 'setup.py', 'develop'], cwd=subdir) | 117 call([python, 'setup.py', 'develop'], cwd=subdir) |
118 setup_pys.add(i) | 118 setup_pys.add(i) |
119 | 119 |
120 # cleanup tempdir # TODO (optionally?) | |
121 # shutil.rmtree(tempdir) | |
122 | |
123 # TODO: | 120 # TODO: |
124 # - add carton to the virtualenv (!) | 121 # - add carton to the virtualenv (!) |
122 | |
125 # - add virtualenv to the virtualenv (!) | 123 # - add virtualenv to the virtualenv (!) |
124 | |
125 # - cleanup tempdir | |
126 # shutil.rmtree(tempdir) | |
126 """ | 127 """ |
127 | 128 |
128 def isURL(path): | 129 def isURL(path): |
129 return path.startswith('http://') or path.startswith('https://') | 130 return path.startswith('http://') or path.startswith('https://') |
130 | 131 |