Changes for page VirtualEnv

Last modified by David De La Harpe Golden on 2026/05/17 17:37

From version 5.1
edited by David De La Harpe Golden
on 2026/05/17 16:14
Change comment: There is no comment for this version
To version 1.1
edited by David De La Harpe Golden
on 2026/05/17 16:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,11 +10,6 @@
10 10  * ##ve## - launches a subshell with the virtualenv active - in contrast to the weird way official activate does it your _current_ shell i.e like vex but less fancy.
11 11  
12 12  {{code language="bash"}}
13 -$ mkve BlahVenv
14 -$ ve BlahVenv
15 -$ pip install av
16 -$ exit
17 -{{/code}}
18 18  
19 19  
20 20  == mkve ==
... ... @@ -27,14 +27,11 @@
27 27  else
28 28   exec python -m venv "$1"
29 29  fi
30 -
31 31  {{/code}}
32 32  
33 -
34 34  == ve ==
35 35  
36 36  {{code language="bash"}}
37 -
38 38  #!/bin/bash
39 39  
40 40  if [ -f "$1/bin/activate" ]; then
... ... @@ -42,7 +42,6 @@
42 42  else
43 43   echo >&2 "Missing Python Virtual Env (should have venv/bin/activate script)"
44 44  fi
45 -
46 46  {{/code}}
47 47  
48 48