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
|
|
|
|
|
|
|
# Installing various tools
|
2021-05-16 14:31:43 +02:00
|
|
|
pip install --upgrade mypy flake8 autopep8 isort
|
2021-05-24 15:21:25 +02:00
|
|
|
pip install --upgrade pyinstaller
|