mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
vagrant: fix pythons on freebsd14
- install with sqlite3 - make sure there is python3/pip3/virtualenv command
This commit is contained in:
parent
a0f56bfddd
commit
32a8c9a3c9
1 changed files with 6 additions and 5 deletions
11
Vagrantfile
vendored
11
Vagrantfile
vendored
|
@ -43,12 +43,13 @@ def packages_freebsd
|
||||||
pkg install -y fusefs-libs3 || true
|
pkg install -y fusefs-libs3 || true
|
||||||
pkg install -y rust
|
pkg install -y rust
|
||||||
pkg install -y git bash # fakeroot causes lots of troubles on freebsd
|
pkg install -y git bash # fakeroot causes lots of troubles on freebsd
|
||||||
# for building python (for the tests we use pyenv built pythons):
|
pkg install -y python39 py39-sqlite3
|
||||||
pkg install -y python310 py310-sqlite3
|
pkg install -y python310 py310-sqlite3
|
||||||
# make sure there is a python3 command
|
pkg install -y python311 py311-sqlite3 py311-pip py311-virtualenv
|
||||||
ln -sf /usr/local/bin/python3.10 /usr/local/bin/python3
|
# make sure there is a python3/pip3/virtualenv command
|
||||||
python3 -m ensurepip
|
ln -sf /usr/local/bin/python3.11 /usr/local/bin/python3
|
||||||
pip3 install virtualenv
|
ln -sf /usr/local/bin/pip-3.11 /usr/local/bin/pip3
|
||||||
|
ln -sf /usr/local/bin/virtualenv-3.11 /usr/local/bin/virtualenv
|
||||||
# make bash default / work:
|
# make bash default / work:
|
||||||
chsh -s bash vagrant
|
chsh -s bash vagrant
|
||||||
mount -t fdescfs fdesc /dev/fd
|
mount -t fdescfs fdesc /dev/fd
|
||||||
|
|
Loading…
Reference in a new issue