feat: monorepo scaffold — photoflow shared dist + trip-cluster app skeleton

This commit is contained in:
2026-06-27 17:08:11 +02:00
parent c406b567bd
commit 01ac95059e
13 changed files with 56 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
IMMICH_URL=http://your-immich-host:2283
IMMICH_API_KEY=your-immich-api-key
ANTHROPIC_API_KEY=
DATA_DIR=./data
UID=1000
GID=1000
+8
View File
@@ -0,0 +1,8 @@
__pycache__/
*.pyc
.venv/
data/
*.db
.env
.pytest_cache/
*.egg-info/
View File
+5
View File
@@ -0,0 +1,5 @@
import sys
from app.cli import main
if __name__ == "__main__":
sys.exit(main())
+13
View File
@@ -0,0 +1,13 @@
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "trip-cluster"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = ["photoflow", "flask==3.1.0", "requests==2.32.3", "Pillow==11.0.0"]
[tool.setuptools.packages.find]
where = ["."]
include = ["app*"]
+1
View File
@@ -0,0 +1 @@
# Editable installs put `app` and `photoflow` on sys.path; nothing extra needed.
+3
View File
@@ -0,0 +1,3 @@
[tool.pytest.ini_options]
testpaths = ["shared/tests", "apps/trip-cluster/tests"]
addopts = "-q"
View File
View File
View File
View File
+16
View File
@@ -0,0 +1,16 @@
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "photoflow"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = ["requests==2.32.3", "flask==3.1.0", "Pillow==11.0.0"]
[tool.setuptools.packages.find]
where = ["."]
include = ["photoflow*"]
[tool.setuptools.package-data]
"photoflow.ui" = ["templates/*.html", "static/*.js"]
+4
View File
@@ -0,0 +1,4 @@
def test_shared_packages_import():
import photoflow.immich
import photoflow.core
import photoflow.ui