File: install_deps.sh

package info (click to toggle)
python-gnocchiclient 7.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: python: 3,219; makefile: 36; sh: 26
file content (28 lines) | stat: -rwxr-xr-x 706 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash -ex

sudo apt-get update -y && sudo apt-get install -qy gnupg software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update -y && sudo apt-get install -qy \
        locales \
        git \
        wget \
        curl \
        python3 \
        python3-dev \
        python3-pip \
        python3.9 \
        python3.9-dev \
        python3.9-distutils \
        python3.11 \
        python3.11-dev \
        python3.12 \
        python3.12-dev

sudo rm -rf /var/lib/apt/lists/*

export LANG=en_US.UTF-8
sudo update-locale
sudo locale-gen $LANG

sudo python3 -m venv /tmp/gnocchi-tox-env
sudo /tmp/gnocchi-tox-env/bin/python3 -m pip install -U pip tox virtualenv