Poor forgotten moonraker environment
This commit is contained in:
parent
d49c50ae9a
commit
475bc5df15
10
setup.sh
10
setup.sh
@ -132,12 +132,18 @@ rm mainsail.zip
|
||||
#
|
||||
#
|
||||
|
||||
# Setup python env
|
||||
echo.Cyan "Setup Python Virtual Environment"
|
||||
# Setup klipper python env
|
||||
echo.Cyan "Setup Klipper Python Virtual Environment"
|
||||
cd $ROOT_DIR/$PRINTER_NAME
|
||||
/usr/bin/virtualenv klippy-env
|
||||
$ROOT_DIR/$PRINTER_NAME/klippy-env/bin/pip install -r $ROOT_DIR/$PRINTER_NAME/klipper/scripts/klippy-requirements.txt
|
||||
|
||||
# Setup moonraker python env
|
||||
echo.Cyan "Setup Moonraker Python Virtual Environment"
|
||||
cd $ROOT_DIR/$PRINTER_NAME
|
||||
/usr/bin/virtualenv moonraker-env
|
||||
$ROOT_DIR/$PRINTER_NAME/moonraker-env/bin/pip install -r $ROOT_DIR/$PRINTER_NAME/moonraker/scripts/moonraker-requirements.txt
|
||||
|
||||
# Configure Systemd Environment Files
|
||||
echo.Cyan "Config Systemd Envs"
|
||||
cd $ROOT_DIR/$PRINTER_NAME/printer_data/systemd
|
||||
|
Loading…
Reference in New Issue
Block a user