reorg uv env

This commit is contained in:
Thomas (Tom) C. Gorordo 2026-05-25 18:50:41 -07:00
parent b95b2db4a9
commit 338006b428
Signed by: tgorordo
GPG key ID: 0CBED22BB0D94490
4 changed files with 573 additions and 679 deletions

View file

@ -1,14 +1,17 @@
list:
just --list
#run:
# uv run carousel
run *args:
uv run src/carouselcmd.py {{args}}
python *arguments:
uv run python -c {{arguments}}
test:
uv run pytest -vvv --tb=short --log-cli-level=INFO
marimo:
uv run marimo --edit
sync *args:
uv sync {{args}}
format:
uv run ruff format src test
@ -16,22 +19,21 @@ format:
check:
uv run pyright src
sync:
uv sync --upgrade
test:
uv run pytest -vvv --tb=short --log-cli-level=INFO
lock:
uv pip compile pyproject.toml -o requirements.txt --group dev
build:
uv run pyinstaller src/cli.py
uv run pyinstaller src/gui.py
compile:
uv run --with-requirements src/carouselcmd.py pyinstaller --clean -F src/carouselcmd.py
clean:
uv run pyclean src test
uv run ruff clean
rm -rf main.spec cli.spec gui.spec build dist .pytest_cache .hypothesis .benchmarks __marimo__
rm -rf carouselcmd.spec carouselgui.spec build dist .pytest_cache .hypothesis .benchmarks __marimo__
wipe:
just clean
rm -rf .venv
lock:
uv lock
uv pip compile pyproject.toml -o requirements.txt --group dev

View file

@ -6,19 +6,17 @@ readme = "README.md"
authors = [{ name = "Thomas (Tom) C. Gorordo", email = "tcgorordo@gmail.com" }]
requires-python = ">=3.13"
dependencies = [
"click>=8.1.8",
"numpy>=2.2.4",
"polars>=1.26.0",
"pyside6>=6.9.0",
"rich>=14.0.0",
"rustworkx>=0.17.1",
]
[project.scripts]
carousel = "carousel:main"
#[project.scripts]
#carousel = "carousel:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["uv_build>=0.11.7,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
@ -33,10 +31,7 @@ dev = [
"ruff>=0.11.2",
"ty>=0.0.0a5",
]
srv = [
"legacy-cgi>=2.6.3",
"python-dotenv>=1.1.0",
]
[pytest]
testpaths = "test"
@ -45,6 +40,3 @@ log_cli = true
[tool.pyright]
include = ["src"]
exclude = ["test"]
reportMissingImports = "error"
reportMissingTypeStubs = false

View file

@ -22,7 +22,6 @@ certifi==2025.8.3
# httpx
click==8.1.8
# via
# carousel (pyproject.toml)
# marimo
# uvicorn
distro==1.9.0
@ -75,12 +74,8 @@ markdown==3.9
# via
# marimo
# pymdown-extensions
markdown-it-py==3.0.0
# via rich
markupsafe==3.0.2
# via jinja2
mdurl==0.1.2
# via markdown-it-py
narwhals==2.3.0
# via
# altair
@ -90,7 +85,9 @@ nbformat==5.10.4
nodeenv==1.9.1
# via pyright
numpy==2.2.4
# via carousel (pyproject.toml)
# via
# carousel (pyproject.toml)
# rustworkx
openai==1.106.1
# via marimo
packaging==24.2
@ -123,9 +120,7 @@ pydantic==2.11.7
pydantic-core==2.33.2
# via pydantic
pygments==2.19.1
# via
# marimo
# rich
# via marimo
pyinstaller==6.13.0
# via carousel (pyproject.toml:dev)
pyinstaller-hooks-contrib==2025.3
@ -134,14 +129,6 @@ pymdown-extensions==10.16.1
# via marimo
pyright==1.1.399
# via carousel (pyproject.toml:dev)
pyside6==6.9.0
# via carousel (pyproject.toml)
pyside6-addons==6.9.0
# via pyside6
pyside6-essentials==6.9.0
# via
# pyside6
# pyside6-addons
pytest==8.3.5
# via
# carousel (pyproject.toml:dev)
@ -156,8 +143,6 @@ referencing==0.36.2
# via
# jsonschema
# jsonschema-specifications
rich==14.0.0
# via carousel (pyproject.toml)
rpds-py==0.27.1
# via
# jsonschema
@ -166,15 +151,12 @@ ruff==0.11.6
# via
# carousel (pyproject.toml:dev)
# marimo
rustworkx==0.17.1
# via carousel (pyproject.toml)
setuptools==78.1.0
# via
# pyinstaller
# pyinstaller-hooks-contrib
shiboken6==6.9.0
# via
# pyside6
# pyside6-addons
# pyside6-essentials
sniffio==1.3.1
# via
# anyio

1174
uv.lock generated

File diff suppressed because it is too large Load diff