-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hey,
Thanks for the project. I'm trying to use it but have some troubles with the quickstart in the Readme. First issue is that
from http_backend.fastapi import FastApiBackend is now called from backends.fastapi import FastApiBackend
Further I had to adjust the project.toml to work with my python 3.14 installation it now looks like the following:
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "paperless-hooks"
version = "0.1.0"
description = "A Python library for creating event-driven integrations with Paperless-NGX using decorators and webhooks"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"pydantic>=2.0.0",
"requests>=2.31.0",
"python-dateutil>=2.8.2",
"python-multipart>=0.0.20",
]
[tool.setuptools]
packages = { find = {} }
py-modules = ["paperless_hooks", "paperless_api"]
in particular the py-modules part is importat as otherwise you cant guarantee that the modules are in you PATH.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels