Files
photonvision-2025.0.0-beta-6/photon-lib/py/buildAndTest.sh
T
2024-12-09 08:01:09 -07:00

15 lines
293 B
Bash
Executable File

# Uninstall if it already was installed
python3 -m pip uninstall -y photonlibpy
# Build wheel
python3 setup.py bdist_wheel
# Install whatever wheel was made
for f in dist/*.whl; do
echo "installing $f"
python3 -m pip install --no-cache-dir "$f"
done
# Run the test suite
pytest -rP