pferd/scripts/setup

18 lines
394 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2021-05-24 15:21:25 +02:00
set -e
2021-05-24 15:43:53 +02:00
# Updating pip and setuptools because some older versions don't recognize the
# project setup correctly
if [[ $1 != '--no-pip' ]]; then
pip install --upgrade pip
fi
pip install --upgrade setuptools
# Installing PFERD itself
pip install --editable .
2021-05-24 15:43:53 +02:00
# Installing various tools
pip install --upgrade mypy flake8 autopep8 isort
2021-05-24 15:21:25 +02:00
pip install --upgrade pyinstaller