Skip to content

workers / wine_inventory / src / pince_shelf / utils / paths.py

Path: workers/wine_inventory/src/pince_shelf/utils/paths.py
Lane: workers
Executable: no/unknown

Purpose

Central path constants for the pince_shelf worker.

This module computes repository-relative paths and exposes: - PROJECT_ROOT: root of workers/wine_inventory - WINE_PLATFORM_ROOT: root of the wine_platform monorepo - CONF_DIR: shared configuration directory (env override, then Pi path, then repo-local fallback) - DATA_DIR: optional worker-local data directory

Use these constants instead of hardcoded paths so scripts run consistently on Raspberry Pi deployments and Mac/dev checkouts.

Entry points

  • No __main__ guard detected

Key symbols

Classes

  • (none detected)

Functions

  • _default_conf_dir()

Configuration & environment

  • (no env vars detected by regex)

Dependencies (imports)

  • __future__
  • os
  • pathlib

Operational notes (fill in)

  • Headless/interactive:
  • Systemd unit (if any):
  • Schedules/triggers:
  • Debug artifacts:
  • Failure modes: