]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
admin/build-doc: use venv module again
authorKen Dreyer <kdreyer@redhat.com>
Wed, 1 Sep 2021 21:40:35 +0000 (17:40 -0400)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 1 Sep 2021 21:40:35 +0000 (17:40 -0400)
Commit 690ca1c5628af629a25a80611c20e56095f13352 accidentally
re-introduced virtualenv. Switch back to the venv module in stdlib.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
admin/build-doc

index bbda3eb631ba93419fd35daeb94df3cc2acf8a01..656990ae9c3459f781d106bfc16846272cd8ba45 100755 (executable)
@@ -55,7 +55,7 @@ if test -f $md5 && md5sum --check $md5 > /dev/null; then
     # reusing existing venv
     :
 else
-    virtualenv --python=python3 $vdir
+    python3 -m venv $vdir
 
     $vdir/bin/pip install --quiet wheel
     $vdir/bin/pip install --quiet \