Skip to content

Commit 7e7c265

Browse files
author
Ram Mehta
committed
Removed extra logging from venv.
1 parent 2c7dd5d commit 7e7c265

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
machine-stack
2-
=============
1+
Sets up a python virtualenv with numpy/scipy/ipython/matplotlib installed.
32

4-
Sources and build scripts to setup numpy/scipy/ipython/matplotlib environment.
3+
4+
Requirements
5+
============
6+
7+
Python 2.7 with distutils and virtualenv installed.
8+
9+
10+
Usage
11+
=====
12+
13+
The machine-stack repo must be included as a submodule to your main git repo.
14+
It can be named anything. The top level of the repo must include a wscript file
15+
which should look something like:
16+
17+
18+
APPNAME = <APPNAME>
19+
VERSION = <VERSION>
20+
21+
top = "."
22+
out = "env"
23+
24+
25+
def options(ctx):
26+
ctx.recurse("src")
27+
28+
29+
def configure(ctx):
30+
ctx.recurse("src")
31+
32+
33+
def build(ctx):
34+
ctx.recurse("src")

waftools/venv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def venv(ctx, cmd):
1616

1717
@conf
1818
def venv_exec(ctx, srcscript, log=False):
19-
ctx.start_msg("→ Executing script in python virtualenv...")
19+
ctx.start_msg("venv.")
2020
srcscript = [
2121
"#!/bin/bash"
2222
"set -eu",
@@ -35,5 +35,5 @@ def venv_exec(ctx, srcscript, log=False):
3535
finally:
3636
os.unlink(f.name)
3737

38-
ctx.end_msg("→ Done executing script in virtualenv.")
38+
ctx.end_msg("→ venv Done.")
3939
return ret

0 commit comments

Comments
 (0)