gradio/scripts/create_test_requirements.sh
Artin Mohammadi bdced314bc
Scripts become much easier to read and understand (#1918)
* Being nice to the user

* Front-end builder, CircleCI runner, and Gradio installer updated

* The testing scripts updated

* Front-end runner and the website launcher updated

* The formatters updated

* GitHub Actions and PyPI uploader scripts updated

* Updating the URLs

* Removing commented codes

* Delete a blank line
2022-08-01 15:17:03 -07:00

13 lines
297 B
Bash

#!/bin/bash
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pip_required
echo "Creating test requirements...
It's recommended to run this script from a Unix-like system in Python 3.7 (or higher) environment."
cd test
pip install --upgrade pip-tools
pip-compile --output-file requirements.txt