gradio/scripts/create_test_requirements.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
313 B
Bash
Raw Normal View History

#!/bin/bash -eu
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pip_required
echo "Creating test requirements...
To match the CI environment, this script should be run from a Unix-like system in Python 3.9."
cd test
pip install --upgrade pip-tools
pip-compile requirements.in --output-file requirements.txt