Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install-debian.sh #6737

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/install-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ KLIPPER_GROUP=$KLIPPER_USER
install_packages()
{
# Packages for python cffi
PKGLIST="virtualenv python-dev libffi-dev build-essential"
PKGLIST="virtualenv python-dev-is-python3 libffi-dev build-essential"
# kconfig requirements
PKGLIST="${PKGLIST} libncurses-dev"
# hub-ctrl
Expand All @@ -20,7 +20,7 @@ install_packages()
PKGLIST="${PKGLIST} avrdude gcc-avr binutils-avr avr-libc"
# ARM chip installation and building
PKGLIST="${PKGLIST} stm32flash libnewlib-arm-none-eabi"
PKGLIST="${PKGLIST} gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0 pkg-config"
PKGLIST="${PKGLIST} gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0.0 pkg-config"

# Update system package info
report_status "Running apt-get update..."
Expand All @@ -37,7 +37,7 @@ create_virtualenv()
report_status "Updating python virtual environment..."

# Create virtualenv if it doesn't already exist
[ ! -d ${PYTHONDIR} ] && virtualenv -p python2 ${PYTHONDIR}
[ ! -d ${PYTHONDIR} ] && virtualenv -p python3 ${PYTHONDIR}

# Install/update dependencies
${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
Expand Down
Loading