Kumi
cc450e10ff
All checks were successful
Python Package CI/CD / Publish to PyPI (push) Successful in 39s
Introduced markdown rendering for the privacy policy alongside plain text support. This change enriches the presentation of the privacy policy by allowing markdown-formatted files. To facilitate this, the markdown2 library was added as a dependency, and the logic in the privacy policy route was adjusted to prioritize `.md` files over `.txt` when available. This update also includes a minor version bump and the addition of a markdown-related entry to `.gitignore`. These changes enhance the flexibility and user experience by supporting more visually structured privacy policies. The removal of the default privacy file path (`privacy.txt`) from the environment configuration encourages explicit file path specification, accommodating the new markdown feature more seamlessly.
32 lines
No EOL
855 B
TOML
32 lines
No EOL
855 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "structables"
|
|
version = "0.3.6"
|
|
authors = [
|
|
{ name="Private.coffee Team", email="support@private.coffee" },
|
|
]
|
|
description = "A simple frontend for Instructables"
|
|
readme = "README.md"
|
|
license = { file="LICENSE" }
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"flask",
|
|
"bs4",
|
|
"markdown2[all]",
|
|
]
|
|
|
|
[project.scripts]
|
|
structables = "structables.main:main"
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.private.coffee/privatecoffee/structables"
|
|
"Bug Tracker" = "https://git.private.coffee/privatecoffee/structables/issues"
|
|
"Source Code" = "https://git.private.coffee/privatecoffee/structables" |