pferd/scripts/setup

18 lines
429 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 tools and type hints
pip install --upgrade mypy flake8 autopep8 isort pyinstaller
pip install --upgrade types-chardet types-certifi