moonraker/pyproject.toml

72 lines
2.1 KiB
TOML

[project]
name = "moonraker"
dynamic = ["version"]
description = "API Server for Klipper"
authors = [
{name = "Eric Callahan", email = "arksine.code@gmail.com"},
]
dependencies = [
"tornado==6.2.0 ; python_version=='3.7'",
"tornado==6.4.0 ; python_version>='3.8'",
"pyserial==3.4",
"pyserial-asyncio==0.6",
"pillow==9.5.0 ; python_version=='3.7'",
"pillow==10.3.0 ; python_version>='3.8'",
"streaming-form-data==1.11.0 ; python_version=='3.7'",
"streaming-form-data==1.15.0 ; python_version>='3.8'",
"distro==1.9.0",
"inotify-simple==1.3.5",
"libnacl==2.1.0",
"paho-mqtt==1.6.1",
"zeroconf==0.131.0",
"preprocess-cancellation==0.2.1",
"jinja2==3.1.4",
"dbus-next==0.2.3",
"apprise==1.8.0",
"ldap3==2.9.1",
"python-periphery==2.4.1"
]
requires-python = ">=3.7"
readme = "README.md"
license = {text = "GPL-3.0-only"}
keywords = ["klipper", "3D printing", "server", "moonraker"]
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
homepage = "https://github.com/Arksine/moonraker"
repository = "https://github.com/Arksine/moonraker"
documentation = "https://moonraker.readthedocs.io"
changelog = "https://moonraker.readthedocs.io/en/latest/changelog/"
[project.optional-dependencies]
msgspec=["msgspec>=0.18.4 ; python_version>='3.8'"]
uvloop=["uvloop>=0.17.0"]
speedups = ["moonraker[msgspec,uvloop]"]
[tool.pdm.version]
source = "scm"
write_to = "moonraker/__version__.py"
write_template = "__version__ = '{}'\n"
[tool.pdm.build]
excludes = ["./**/.git", "moonraker/moonraker.py"]
includes = ["moonraker"]
editable-backend = "path"
custom-hook = "scripts/pdm_build_dist.py"
[project.scripts]
moonraker = "moonraker.server:main"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"