2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 10:10:59 +00:00

extract heights.json and fix manage.py to use uv

This commit is contained in:
2025-06-21 20:10:04 +03:00
parent 6e3279e585
commit 576e4a20f0
6 changed files with 56978 additions and 28510 deletions

View File

@@ -1,7 +1,7 @@
#! /bin/bash
# Do these before final testing, *not* just before pushing:
# Need to be in an ALREADY activated venv
PYTHON="python"
# Changed to use uv not pip, requires manage.py to have uv structured uv comment in it.
PYTHON="uv run"
echo "** Run inspectdb:"
$PYTHON manage.py inspectdb > troggle-inspectdb.py
@@ -30,7 +30,7 @@ echo "** Now running test suite"
# $PYTHON manage.py test -v 1
echo ""
echo `tail -1 lines-of-python.txt` non-comment lines of python. But core/utils.py has 28,000 lines of numbers.
echo `tail -1 lines-of-python.txt` non-comment lines of python.
echo `tail -1 lines-of-templates.txt` non-comment lines of HTML templates.
echo '** If you have an error running manage.py, maybe you are not in an activated venv ?'
echo '** If you have an error running manage.py, maybe you are not in an activated venv ? or your manage.py is not managed by uv properly ?'