first build
This commit is contained in:
39 files changed
+2522
No files matched your search
@@ -0,0 +1,51 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "cert-portal"
|
||||
version = "0.1.0"
|
||||
description = "OIDC-authenticated portal that enrolls a user cert from AD CS and serves it in a signed Apple .mobileconfig"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.32.0",
|
||||
"jinja2>=3.1.4",
|
||||
"python-multipart>=0.0.12",
|
||||
"authlib>=1.4.0",
|
||||
"httpx>=0.27.0",
|
||||
"itsdangerous>=2.2.0",
|
||||
"pydantic-settings>=2.6.0",
|
||||
"cryptography>=44.0.0",
|
||||
"ldap3>=2.9.1",
|
||||
"requests>=2.32.0",
|
||||
"requests-ntlm>=1.3.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.3.0",
|
||||
"pytest-cov>=6.0.0",
|
||||
"ruff>=0.8.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
cert-portal = "cert_portal.__main__:main"
|
||||
|
||||
[tool.hatch.build.targets.wheel.force-include]
|
||||
"src/cert_portal/templates" = "cert_portal/templates"
|
||||
"src/cert_portal/static" = "cert_portal/static"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
pythonpath = ["src", "."]
|
||||
testpaths = ["tests"]
|
||||
addopts = "-q"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py312"
|
||||
src = ["src", "tests"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "B"]
|
||||
Reference in new issue
Block a user