mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-26 07:16:20 +00:00
build: depend on vnpipe from its git repo instead of a local path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
47cf8c9ccc
commit
98e0c209ac
4 files changed
+9
-23
No files matched your search
@@ -11,8 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# TODO: pyproject.toml points to a local vnpipe checkout (absolute path). CI needs vnpipe
|
||||
# available at that path (e.g. an extra checkout step for the vnpipe repo) before `uv sync`.
|
||||
# TODO: vnpipe is a private git dependency over SSH; CI needs a deploy key for it.
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
- run: uv sync --locked
|
||||
- name: Lint
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# CLAUDE.md
|
||||
|
||||
Faust I (Spanish, Llorente) as a Ren'Py visual novel. This repo is a *work*: the pipeline
|
||||
(`vnpipe`) lives in `../vnpipe` (path dependency in `pyproject.toml`).
|
||||
(`vnpipe`) lives in its own repo (`../vnpipe`, git dependency on its `development` branch, pinned by `uv.lock`).
|
||||
|
||||
## Rules
|
||||
- Repo content in English; the game text is Spanish (from the source, never rewritten).
|
||||
@@ -21,8 +21,8 @@ Faust I (Spanish, Llorente) as a Ren'Py visual novel. This repo is a *work*: the
|
||||
- Ren'Py SDK lives in `tools/renpy-sdk` (gitignored; may be a symlink shared between worktrees)
|
||||
or `RENPY_SDK`. Inside the sandbox prefix SDK commands with `HOME=$TMPDIR/renpy-home`.
|
||||
Lint: `tools/renpy-sdk/renpy.sh vn lint`. Playthrough test and builds: `docs/running.md`.
|
||||
- The `vnpipe` path in `pyproject.toml` is absolute (worktrees sit two levels deeper than the
|
||||
main checkout); adjust it on another machine.
|
||||
- vnpipe comes from git (pinned in `uv.lock`); after pushing vnpipe changes run
|
||||
`uv lock --upgrade-package vnpipe`. Unpushed vnpipe: `uv run --with-editable ../vnpipe <cmd>`.
|
||||
|
||||
## Branches and versions
|
||||
- `development` is the integration branch; `main` receives reviewed merges from it.
|
||||
|
||||
+3
-4
@@ -18,11 +18,10 @@ dev = [
|
||||
[tool.uv]
|
||||
package = false
|
||||
|
||||
# Absolute because uv resolves relative paths against the project directory and this repo is
|
||||
# used from both the main checkout and `.worktrees/<name>` (two levels deeper). From the main
|
||||
# checkout alone this could be `../vnpipe`. Adjust to where vnpipe is cloned.
|
||||
# vnpipe is pinned through uv.lock. After pushing vnpipe changes: `uv lock --upgrade-package vnpipe`.
|
||||
# To try an unpushed vnpipe checkout: `uv run --with-editable ../vnpipe <cmd>`.
|
||||
[tool.uv.sources]
|
||||
vnpipe = { path = "/home/dasemu/Hacking/Darío/vnpipe", editable = true }
|
||||
vnpipe = { git = "ssh://gitea@git.zenvairo.es:2222/dasemu/vnpipe.git", branch = "development" }
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
|
||||
@@ -35,7 +35,7 @@ dev = [
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [{ name = "vnpipe", editable = "/home/dasemu/Hacking/Darío/vnpipe" }]
|
||||
requires-dist = [{ name = "vnpipe", git = "ssh://git.zenvairo.es:2222/dasemu/vnpipe.git?branch=development" }]
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
dev = [
|
||||
@@ -357,20 +357,8 @@ wheels = [
|
||||
[[package]]
|
||||
name = "vnpipe"
|
||||
version = "0.1.0"
|
||||
source = { editable = "/home/dasemu/Hacking/Darío/vnpipe" }
|
||||
source = { git = "ssh://git.zenvairo.es:2222/dasemu/vnpipe.git?branch=development#58b4fcba46368915fadde0c7520a24dd6301fcad" }
|
||||
dependencies = [
|
||||
{ name = "jsonschema" },
|
||||
{ name = "pillow" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
{ name = "jsonschema", specifier = ">=4.23" },
|
||||
{ name = "pillow", specifier = ">=11.0" },
|
||||
]
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
dev = [
|
||||
{ name = "pytest", specifier = ">=8.3" },
|
||||
{ name = "ruff", specifier = ">=0.8" },
|
||||
]
|
||||
Reference in new issue
Block a user