All checks were successful
Deploy / deploy (push) Successful in 1m38s
Add package-data configuration so static files (JavaScript, CSS) are included when the package is built and deployed. Fixes 404 errors for datetime-picker.js in production. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
59 lines
1.2 KiB
TOML
59 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "animaltrack"
|
|
version = "0.1.0"
|
|
description = "Event-sourced animal tracking for poultry farm management"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
authors = [
|
|
{name = "ppetru"}
|
|
]
|
|
|
|
dependencies = [
|
|
"python-fasthtml>=0.12.0",
|
|
"monsterui>=1.0.0",
|
|
"uvicorn>=0.24.0",
|
|
"fastmigrate>=0.4.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"python-ulid>=2.0.0",
|
|
"xxhash>=3.0.0",
|
|
"python-multipart>=0.0.6",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-xdist>=3.5.0",
|
|
"ruff>=0.1.0",
|
|
"filelock>=3.13.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
animaltrack = "animaltrack.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
animaltrack = ["static/**/*"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
python_files = "test_*.py"
|
|
python_classes = "Test*"
|
|
python_functions = "test_*"
|
|
addopts = "--durations=20 -n auto"
|