Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions bin/stack-config
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
#!/usr/bin/env python3

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "jinja2",
# "jsonschema",
# "pyYAML",
# ]
# ///

import pathlib
import sys

prefix = pathlib.Path(__file__).parent.parent.resolve()
external = prefix / 'external'
sys.path = [prefix.as_posix(), external.as_posix()] + sys.path
sys.path = [prefix.as_posix()] + sys.path

from stackinator.main import main

Expand Down
22 changes: 0 additions & 22 deletions bootstrap.sh

This file was deleted.

14 changes: 11 additions & 3 deletions test_stackinator.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#!/usr/bin/env python3
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "jinja2",
# "jsonschema",
# "pytest",
# "pyYAML",
# ]
# ///

import pathlib
import sys

prefix = pathlib.Path(__file__).parent.resolve()
external = prefix / "external"
sys.path = [prefix.as_posix(), external.as_posix()] + sys.path
sys.path = [prefix.as_posix()] + sys.path

import pytest # noqa: E402

Expand Down
Loading