gradio/scripts/create_test_requirements-37.sh
Yuichiro Tachibana (Tsuchiya) 0cf93e50b8
Make shell scripts executable and fix their shebangs (#6901)
* Add executable permission to scripts/*.sh

* Set -eu to the shebang in /scripts/*.sh

* Fix client/python/scripts/*.sh
2023-12-29 08:21:51 -08:00

14 lines
316 B
Bash
Executable File

#!/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.7."
cd test
pip install --upgrade pip-tools
pip-compile requirements.in --output-file requirements-37.txt