Changeset View
Changeset View
Standalone View
Standalone View
contrib/utils/install-dependencies.sh
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | ||||
update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | ||||
# Python library for merging nested structures | # Python library for merging nested structures | ||||
pip3 install deepmerge | pip3 install deepmerge | ||||
# For running Python test suites | # For running Python test suites | ||||
pip3 install pytest | pip3 install pytest | ||||
# An up-to-date mypy is required as a python linter | # Up-to-date mypy and isort packages are required python linters | ||||
pip3 install mypy==0.780 | pip3 install isort==5.6.4 mypy==0.780 | ||||
echo "export PATH=\"$(python3 -m site --user-base)/bin:\$PATH\"" >> ~/.bashrc | echo "export PATH=\"$(python3 -m site --user-base)/bin:\$PATH\"" >> ~/.bashrc | ||||
# shellcheck source=/dev/null | # shellcheck source=/dev/null | ||||
source ~/.bashrc | source ~/.bashrc | ||||
# Install pandoc. The version from buster is outdated, so get a more recent one | # Install pandoc. The version from buster is outdated, so get a more recent one | ||||
# from github. | # from github. | ||||
wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-1-amd64.deb | wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-1-amd64.deb | ||||
echo "4515d6fe2bf8b82765d8dfa1e1b63ccb0ff3332d60389f948672eaa37932e936 pandoc-2.10.1-1-amd64.deb" | sha256sum -c | echo "4515d6fe2bf8b82765d8dfa1e1b63ccb0ff3332d60389f948672eaa37932e936 pandoc-2.10.1-1-amd64.deb" | sha256sum -c | ||||
DEBIAN_FRONTEND=noninteractive dpkg -i pandoc-2.10.1-1-amd64.deb | DEBIAN_FRONTEND=noninteractive dpkg -i pandoc-2.10.1-1-amd64.deb | ||||
# Install npm v7.x and nodejs v15.x | # Install npm v7.x and nodejs v15.x | ||||
curl -sL https://deb.nodesource.com/setup_15.x | bash - | curl -sL https://deb.nodesource.com/setup_15.x | bash - | ||||
apt-get install -y nodejs | apt-get install -y nodejs |