Files
Bambu-Run/pyproject.toml
RNL fb1c3fb834 feat(standalone): support Postgres via DB_ENGINE env var
Lets a standalone install point at an existing Postgres database
(e.g. for testing against real data on a verification host) instead
of always writing to local SQLite. Defaults to SQLite when DB_ENGINE
is unset, so existing self-hosters see no behavior change.
2026-08-28 23:20:29 +10:00

74 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bambu-run"
version = "0.1.13"
description = "Django reusable app for Bambu Lab 3D printer monitoring and filament inventory management"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{name = "Runnan Li"},
]
keywords = ["django", "bambu-lab", "3d-printer", "filament", "mqtt", "monitoring"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Home Automation",
]
dependencies = [
"django>=4.2",
"bambu-lab-cloud-api",
]
[project.optional-dependencies]
standalone = [
"gunicorn",
"python-dotenv",
"whitenoise",
]
postgres = [
"psycopg2-binary",
]
mcp = [
"mcp-gate @ git+https://github.com/RunLit/mcp-gate.git@v0.1.0",
"uvicorn",
]
dev = [
"ruff",
"pytest",
"pytest-django",
"anyio",
]
[project.urls]
Homepage = "https://github.com/RunLit/Bambu-Run"
Repository = "https://github.com/RunLit/Bambu-Run"
Issues = "https://github.com/RunLit/Bambu-Run/issues"
[tool.setuptools.packages.find]
include = ["bambu_run*"]
[tool.setuptools.package-data]
bambu_run = [
"templates/bambu_run/*.html",
"static/bambu_run/**/*",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = "test_*.py"