Add a Django admin-backed management layer for pobsync configs, runs, snapshots, and schedules. Keep the existing CLI engine as the execution source of truth, add import/run management commands, and provide SQLite default plus optional MariaDB Docker Compose support.
28 lines
506 B
TOML
28 lines
506 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pobsync"
|
|
version = "0.1.0"
|
|
description = "Pull-based rsync backup tool with hardlinked snapshots"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"Django>=5.2,<6.0",
|
|
"PyYAML>=6.0"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
mariadb = [
|
|
"mysqlclient>=2.2"
|
|
]
|
|
|
|
[project.scripts]
|
|
pobsync = "pobsync.cli:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|