Fail install for Python 2

Closes #16
This commit is contained in:
Chad Condon
2024-07-20 16:06:46 -07:00
parent 35fca0b328
commit c27bf56071

View File

@@ -26,6 +26,9 @@ else
exit -1
fi
# Check for old python
~/klippy-env/bin/python -c 'import sys; assert sys.version_info[0] == 3, "Python 3 is required."'
# Link auto speed to klipper
echo "Linking auto speed to Klipper..."
ln -sf "${SRCDIR}/auto_speed.py" "${KLIPPER_PATH}/klippy/extras/auto_speed.py"