2021-05-16 14:31:43 +02:00
|
|
|
#!/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
|
2021-05-16 14:31:43 +02:00
|
|
|
pip install --editable .
|
2021-05-24 15:43:53 +02:00
|
|
|
|
2021-06-09 22:35:55 +02:00
|
|
|
# Installing tools and type hints
|
|
|
|
pip install --upgrade mypy flake8 autopep8 isort pyinstaller
|
2022-11-23 23:12:14 +01:00
|
|
|
mypy PFERD --install-types --non-interactive
|