mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use ensurepip to install pip on FreeBSD
The py39-pip package is sometimes not available on FreeBSD, and using ensurepip is the recommended way to install pip according to the pip documentation. ensurepip should be available in every python installation.
This commit is contained in:
parent
6ee5c6e9cc
commit
5db8acdf36
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
||||||
pkg install -y bash git cmake swig bison python3 base64 flex ccache
|
pkg install -y bash git cmake swig bison python3 base64 flex ccache
|
||||||
pkg upgrade -y curl
|
pkg upgrade -y curl
|
||||||
pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")')
|
pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")')
|
||||||
pkg install -y $pyver-sqlite3 $pyver-pip
|
pkg install -y $pyver-sqlite3
|
||||||
|
python -m ensurepip --upgrade
|
||||||
|
|
||||||
python -m pip install websockets junit2html
|
python -m pip install websockets junit2html
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue