Changeset View
Changeset View
Standalone View
Standalone View
bin/install
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
# Usage: bin/install [PIP_INSTALL_OPTION..] | # Usage: bin/install [PIP_INSTALL_OPTION..] | ||||
PREREQUISITES="pre-commit flake8 pifpaf tox wheel mypy" | PREREQUISITES="pre-commit flake8 pifpaf tox wheel mypy" | ||||
pip install --upgrade pip "$@" | python3 -m pip install --upgrade pip "$@" | ||||
pip install $PREREQUISITES "$@" | python3 -m pip install $PREREQUISITES "$@" | ||||
bin/pip-swh-packages --with-testing | \ | bin/pip-swh-packages --with-testing | \ | ||||
while read pkg_spec ; do | while read pkg_spec ; do | ||||
pip install $pkg_spec | python3 -m pip install $pkg_spec "$@" | ||||
done | done |