mirror of
https://github.com/YunoHost-Apps/octoprint_ynh.git
synced 2024-09-03 19:46:26 +02:00
Migrate to python3
This commit is contained in:
parent
04fce7382f
commit
0c9b061179
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ chown -R $app: "$home_path"
|
|||
ynh_script_progression --message="Installing Octoprint in a virtual environment..."
|
||||
exec_as $app -H -s /bin/bash -c " \
|
||||
echo 'create the virtual environment' \
|
||||
&& virtualenv "$final_path" \
|
||||
&& virtualenv -p $(which python3) "$final_path" \
|
||||
&& echo 'install Octoprint' \
|
||||
&& "$final_path"/bin/pip install $app \
|
||||
&& "$final_path"/bin/pip3 install $app \
|
||||
"
|
||||
|
||||
# set default configuration files
|
||||
|
|
Loading…
Add table
Reference in a new issue