[Python-checkins] devinabox: Minor comments.
brett.cannon
python-checkins at python.org
Thu Nov 15 16:14:51 CET 2012
http://hg.python.org/devinabox/rev/92da896bd4a0
changeset: 45:92da896bd4a0
user: Brett Cannon <brett at python.org>
date: Thu Nov 15 10:14:42 2012 -0500
summary:
Minor comments.
files:
make_a_box.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/make_a_box.py b/make_a_box.py
--- a/make_a_box.py
+++ b/make_a_box.py
@@ -144,11 +144,14 @@
env['CPPPATH'] = '-I {} -I {}'.format(self.cpython_dir,
os.path.join(self.cpython_dir, 'Include'))
with change_cwd(self.coveragepy_dir):
+ # Don't want to use venv because we want the file paths to match
+ # up with the repo and not installation locations.
print('Compiling coverage.py extension(s) ...')
cmd = [self.executable, 'setup.py', 'build_ext', '--inplace']
subprocess.check_call(cmd, env=env)
yield
- # XXX clean up tracer.so; distribute?
+ # XXX clean up tracer.so and any other build directories;
+ # leave distribute for those that want to build themselves
def generate_coveragepy_command(self, command, *args):
exclude = '{},{}'.format(os.path.join('Lib', 'test', '*'),
--
Repository URL: http://hg.python.org/devinabox
More information about the Python-checkins
mailing list