build: added pyproject.toml

This commit is contained in:
Jannat Patel
2023-11-09 15:18:06 +05:30
parent 4316a37ed6
commit 9ebd64f47d
4 changed files with 38 additions and 11 deletions

34
pyproject.toml Normal file
View File

@@ -0,0 +1,34 @@
[project]
name = "lms"
authors = [
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"}
]
description = "Easy to use, open source, Learning Management System"
requires-python = ">=3.10"
readme = "README.md"
dynamic = ["version"]
dependencies = [
# core dependencies
"websocket_client~=1.6.4",
"markdown~=3.5.1",
"beautifulsoup4~4.12.2",
"lxml~=4.9.3",
"cairocffi~=1.6.1",
"razorpay~=1.4.1"
]
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[tool.black]
line-length = 99
[tool.isort]
line_length = 99
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
indent = "\t"