-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
29 lines (25 loc) · 878 Bytes
/
Copy pathpyproject.toml
File metadata and controls
29 lines (25 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "brightspace-api"
version = "0.7.0"
description = "Python client + optional FastAPI server for Brightspace (D2L), via a persistent Playwright session. Courses, content, grades, assignments, discussions, announcements, deadlines, and both interactive and fully-automated login."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"playwright>=1.62",
]
[project.optional-dependencies]
server = [
"fastapi>=0.141",
"uvicorn>=0.52",
"pydantic>=2.13",
]
[project.scripts]
brightspace-login = "brightspace_api.session:cli_bootstrap_interactive"
brightspace-login-scripted = "brightspace_api.session:cli_bootstrap_scripted"
brightspace-serve = "brightspace_api.server:main"
[tool.setuptools.packages.find]
where = ["src"]