mirror of
https://github.com/tgorordo/carousel.git
synced 2026-06-05 18:12:14 -07:00
reorg uv env
This commit is contained in:
parent
b95b2db4a9
commit
338006b428
4 changed files with 573 additions and 679 deletions
28
justfile
28
justfile
|
|
@ -1,14 +1,17 @@
|
||||||
list:
|
list:
|
||||||
just --list
|
just --list
|
||||||
|
|
||||||
#run:
|
run *args:
|
||||||
# uv run carousel
|
uv run src/carouselcmd.py {{args}}
|
||||||
|
|
||||||
python *arguments:
|
python *arguments:
|
||||||
uv run python -c {{arguments}}
|
uv run python -c {{arguments}}
|
||||||
|
|
||||||
test:
|
marimo:
|
||||||
uv run pytest -vvv --tb=short --log-cli-level=INFO
|
uv run marimo --edit
|
||||||
|
|
||||||
|
sync *args:
|
||||||
|
uv sync {{args}}
|
||||||
|
|
||||||
format:
|
format:
|
||||||
uv run ruff format src test
|
uv run ruff format src test
|
||||||
|
|
@ -16,22 +19,21 @@ format:
|
||||||
check:
|
check:
|
||||||
uv run pyright src
|
uv run pyright src
|
||||||
|
|
||||||
sync:
|
test:
|
||||||
uv sync --upgrade
|
uv run pytest -vvv --tb=short --log-cli-level=INFO
|
||||||
|
|
||||||
lock:
|
compile:
|
||||||
uv pip compile pyproject.toml -o requirements.txt --group dev
|
uv run --with-requirements src/carouselcmd.py pyinstaller --clean -F src/carouselcmd.py
|
||||||
|
|
||||||
build:
|
|
||||||
uv run pyinstaller src/cli.py
|
|
||||||
uv run pyinstaller src/gui.py
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
uv run pyclean src test
|
uv run pyclean src test
|
||||||
uv run ruff clean
|
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:
|
wipe:
|
||||||
just clean
|
just clean
|
||||||
rm -rf .venv
|
rm -rf .venv
|
||||||
|
|
||||||
|
lock:
|
||||||
|
uv lock
|
||||||
|
uv pip compile pyproject.toml -o requirements.txt --group dev
|
||||||
|
|
|
||||||
|
|
@ -6,19 +6,17 @@ readme = "README.md"
|
||||||
authors = [{ name = "Thomas (Tom) C. Gorordo", email = "tcgorordo@gmail.com" }]
|
authors = [{ name = "Thomas (Tom) C. Gorordo", email = "tcgorordo@gmail.com" }]
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"click>=8.1.8",
|
|
||||||
"numpy>=2.2.4",
|
"numpy>=2.2.4",
|
||||||
"polars>=1.26.0",
|
"polars>=1.26.0",
|
||||||
"pyside6>=6.9.0",
|
"rustworkx>=0.17.1",
|
||||||
"rich>=14.0.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
#[project.scripts]
|
||||||
carousel = "carousel:main"
|
#carousel = "carousel:main"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["uv_build>=0.11.7,<0.12.0"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "uv_build"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
|
|
@ -33,10 +31,7 @@ dev = [
|
||||||
"ruff>=0.11.2",
|
"ruff>=0.11.2",
|
||||||
"ty>=0.0.0a5",
|
"ty>=0.0.0a5",
|
||||||
]
|
]
|
||||||
srv = [
|
|
||||||
"legacy-cgi>=2.6.3",
|
|
||||||
"python-dotenv>=1.1.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
testpaths = "test"
|
testpaths = "test"
|
||||||
|
|
@ -45,6 +40,3 @@ log_cli = true
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
include = ["src"]
|
include = ["src"]
|
||||||
exclude = ["test"]
|
exclude = ["test"]
|
||||||
|
|
||||||
reportMissingImports = "error"
|
|
||||||
reportMissingTypeStubs = false
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ certifi==2025.8.3
|
||||||
# httpx
|
# httpx
|
||||||
click==8.1.8
|
click==8.1.8
|
||||||
# via
|
# via
|
||||||
# carousel (pyproject.toml)
|
|
||||||
# marimo
|
# marimo
|
||||||
# uvicorn
|
# uvicorn
|
||||||
distro==1.9.0
|
distro==1.9.0
|
||||||
|
|
@ -75,12 +74,8 @@ markdown==3.9
|
||||||
# via
|
# via
|
||||||
# marimo
|
# marimo
|
||||||
# pymdown-extensions
|
# pymdown-extensions
|
||||||
markdown-it-py==3.0.0
|
|
||||||
# via rich
|
|
||||||
markupsafe==3.0.2
|
markupsafe==3.0.2
|
||||||
# via jinja2
|
# via jinja2
|
||||||
mdurl==0.1.2
|
|
||||||
# via markdown-it-py
|
|
||||||
narwhals==2.3.0
|
narwhals==2.3.0
|
||||||
# via
|
# via
|
||||||
# altair
|
# altair
|
||||||
|
|
@ -90,7 +85,9 @@ nbformat==5.10.4
|
||||||
nodeenv==1.9.1
|
nodeenv==1.9.1
|
||||||
# via pyright
|
# via pyright
|
||||||
numpy==2.2.4
|
numpy==2.2.4
|
||||||
# via carousel (pyproject.toml)
|
# via
|
||||||
|
# carousel (pyproject.toml)
|
||||||
|
# rustworkx
|
||||||
openai==1.106.1
|
openai==1.106.1
|
||||||
# via marimo
|
# via marimo
|
||||||
packaging==24.2
|
packaging==24.2
|
||||||
|
|
@ -123,9 +120,7 @@ pydantic==2.11.7
|
||||||
pydantic-core==2.33.2
|
pydantic-core==2.33.2
|
||||||
# via pydantic
|
# via pydantic
|
||||||
pygments==2.19.1
|
pygments==2.19.1
|
||||||
# via
|
# via marimo
|
||||||
# marimo
|
|
||||||
# rich
|
|
||||||
pyinstaller==6.13.0
|
pyinstaller==6.13.0
|
||||||
# via carousel (pyproject.toml:dev)
|
# via carousel (pyproject.toml:dev)
|
||||||
pyinstaller-hooks-contrib==2025.3
|
pyinstaller-hooks-contrib==2025.3
|
||||||
|
|
@ -134,14 +129,6 @@ pymdown-extensions==10.16.1
|
||||||
# via marimo
|
# via marimo
|
||||||
pyright==1.1.399
|
pyright==1.1.399
|
||||||
# via carousel (pyproject.toml:dev)
|
# 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
|
pytest==8.3.5
|
||||||
# via
|
# via
|
||||||
# carousel (pyproject.toml:dev)
|
# carousel (pyproject.toml:dev)
|
||||||
|
|
@ -156,8 +143,6 @@ referencing==0.36.2
|
||||||
# via
|
# via
|
||||||
# jsonschema
|
# jsonschema
|
||||||
# jsonschema-specifications
|
# jsonschema-specifications
|
||||||
rich==14.0.0
|
|
||||||
# via carousel (pyproject.toml)
|
|
||||||
rpds-py==0.27.1
|
rpds-py==0.27.1
|
||||||
# via
|
# via
|
||||||
# jsonschema
|
# jsonschema
|
||||||
|
|
@ -166,15 +151,12 @@ ruff==0.11.6
|
||||||
# via
|
# via
|
||||||
# carousel (pyproject.toml:dev)
|
# carousel (pyproject.toml:dev)
|
||||||
# marimo
|
# marimo
|
||||||
|
rustworkx==0.17.1
|
||||||
|
# via carousel (pyproject.toml)
|
||||||
setuptools==78.1.0
|
setuptools==78.1.0
|
||||||
# via
|
# via
|
||||||
# pyinstaller
|
# pyinstaller
|
||||||
# pyinstaller-hooks-contrib
|
# pyinstaller-hooks-contrib
|
||||||
shiboken6==6.9.0
|
|
||||||
# via
|
|
||||||
# pyside6
|
|
||||||
# pyside6-addons
|
|
||||||
# pyside6-essentials
|
|
||||||
sniffio==1.3.1
|
sniffio==1.3.1
|
||||||
# via
|
# via
|
||||||
# anyio
|
# anyio
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue