-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 loc) · 2.1 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "crosspresent"
description = "Turn one Markdown file into a self-contained HTML presentation — charts, stat tiles, tables, cards and callouts, no dependencies and no JS in the output."
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Noah Alorwu", email = "noahalorwu@gmail.com" }]
keywords = ["markdown", "presentation", "slides", "html", "svg", "charts", "cli"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Graphics :: Presentation",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: Markdown",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/OpenStruct/crosspresent"
Repository = "https://github.com/OpenStruct/crosspresent"
Changelog = "https://github.com/OpenStruct/crosspresent/blob/main/CHANGELOG.md"
[project.scripts]
crosspresent = "crosspresent:main"
[tool.setuptools]
# Single-file module — ships crosspresent.py only, matching the project's
# "single file, stdlib only" design (see docs/DESIGN.md).
py-modules = ["crosspresent"]
[tool.setuptools.dynamic]
version = { attr = "crosspresent.VERSION" }
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
# pycodestyle errors/warnings, pyflakes, import sorting, common bugbears.
select = ["E", "F", "W", "I", "B"]
# Lint logic, not layout. This single file embeds aligned CSS and palette data
# tables whose width is intentional, and we deliberately do NOT run `ruff
# format` (it explodes those hand-aligned blocks). Line width is the author's.
ignore = ["E501"]