Răsfoiți Sursa

Update setup instructions for recent debian / ubuntu (#3571)

`pip3 install` refuses to perform a system-wide installation, but we can
install `pre-commit` with `apt` instead.
Richard Smith 2 ani în urmă
părinte
comite
dfb27ded9c
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      docs/project/contribution_tools.md

+ 3 - 2
docs/project/contribution_tools.md

@@ -49,10 +49,11 @@ sudo apt install \
   gh \
   gh \
   libc++-dev \
   libc++-dev \
   lld \
   lld \
-  python3
+  python3 \
+  pipx
 
 
 # Install pre-commit.
 # Install pre-commit.
-pip3 install pre-commit
+pipx install pre-commit
 
 
 # Set up git.
 # Set up git.
 # If you don't already have a fork:
 # If you don't already have a fork: