]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man/8/cephfs-shell: s/virtualenv/python3 -m venv/
authorKefu Chai <kchai@redhat.com>
Sat, 31 Jul 2021 12:57:38 +0000 (20:57 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 31 Jul 2021 13:16:56 +0000 (21:16 +0800)
so user does not have to use virtualenv python package for creating a
virtualenv, the "venv" module in Python3 would suffice.

see also https://docs.python.org/3/library/venv.html

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/man/8/cephfs-shell.rst

index 62ebf60f20509947eb102c4cbea217946653d66b..b8a3699f90c55401b5a0cb4c6656336e80ba2893 100644 (file)
@@ -52,7 +52,7 @@ Options
 
 .. code:: bash
 
-    [build]$ virtualenv -p python3 venv && source venv/bin/activate && pip3 install cmd2
+    [build]$ python3 -m venv venv && source venv/bin/activate && pip3 install cmd2
     [build]$ source vstart_environment.sh && source venv/bin/activate && python3 ../src/tools/cephfs/cephfs-shell
 
 Commands