mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[Vagrant] Fix vagrant build installing all required Python packages
This commit is contained in:
Vendored
+3
-1
@@ -17,6 +17,8 @@ Vagrant.configure("2") do |config|
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://vagrantcloud.com/search.
|
||||
config.vm.box = "bento/ubuntu-18.04"
|
||||
# TD-er: No hyperv version for "bento/ubuntu-20.04" available yet.
|
||||
#config.vm.box = "bento/ubuntu-20.04"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
@@ -69,7 +71,7 @@ Vagrant.configure("2") do |config|
|
||||
# documentation for more information about their specific syntax and use.
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
apt-get update
|
||||
apt-get install -y python-minimal virtualenv build-essential zip binutils software-properties-common
|
||||
apt-get install -y python3-minimal virtualenv build-essential zip binutils software-properties-common
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
|
||||
add-apt-repository ppa:deadsnakes/ppa
|
||||
|
||||
@@ -41,9 +41,9 @@ fi
|
||||
|
||||
# Activate Python virtual environment and install/upgrade packages
|
||||
source ${VENV}/bin/activate
|
||||
pip install -U platformio
|
||||
#pip install -r ${SRC}/docs/requirements.txt
|
||||
|
||||
pip install -r ${SRC}/requirements.txt
|
||||
pip install -U platformio
|
||||
|
||||
# Update platformio
|
||||
cd ${SRC}
|
||||
|
||||
Reference in New Issue
Block a user