feat: M1 foundation packages + trip-cluster app #1
@@ -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
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
.venv/
|
||||||
|
data/
|
||||||
|
*.db
|
||||||
|
.env
|
||||||
|
.pytest_cache/
|
||||||
|
*.egg-info/
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import sys
|
||||||
|
from app.cli import main
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
sys.exit(main())
|
||||||
@@ -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*"]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
# Editable installs put `app` and `photoflow` on sys.path; nothing extra needed.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = ["shared/tests", "apps/trip-cluster/tests"]
|
||||||
|
addopts = "-q"
|
||||||
@@ -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"]
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
def test_shared_packages_import():
|
||||||
|
import photoflow.immich
|
||||||
|
import photoflow.core
|
||||||
|
import photoflow.ui
|
||||||
Reference in New Issue
Block a user