2024-12-02 10:49:46 +00:00
|
|
|
[project]
|
|
|
|
name = "microcosm"
|
2022-10-30 15:58:07 +00:00
|
|
|
version = "0.3.0"
|
2022-01-12 20:40:35 +00:00
|
|
|
description = "A tiny python-based micropub endpoint that supports a Gitea + drone static website"
|
2024-12-02 10:49:46 +00:00
|
|
|
authors = [{name="James Ravenscroft", email="ravenscroftj@gmail.com"}]
|
2022-01-12 20:40:35 +00:00
|
|
|
license = "AGPL-3.0"
|
2024-12-02 10:49:46 +00:00
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.9,<3.12"
|
2022-01-12 20:40:35 +00:00
|
|
|
|
2024-12-02 10:49:46 +00:00
|
|
|
dependencies = [
|
|
|
|
"Flask==3.1.0",
|
|
|
|
"giteapy @ https://github.com/dblueai/giteapy/archive/master.zip",
|
|
|
|
"requests==2.27.1",
|
|
|
|
"python-dotenv==0.19.2",
|
|
|
|
"python-slugify==5.0.2",
|
|
|
|
"Flask-Micropub==0.2.8",
|
|
|
|
"pillow==10.0.0",
|
|
|
|
"clientapi-forgejo==1.0.0",
|
|
|
|
"loguru==0.7.2",
|
|
|
|
"pyyaml>=6.0",
|
|
|
|
]
|
2022-10-22 12:07:40 +01:00
|
|
|
|
2024-12-02 10:49:46 +00:00
|
|
|
[project.optional-dependencies]
|
|
|
|
dev = [
|
|
|
|
"pytest==6.2.5",
|
|
|
|
"autopep8==1.6.0",
|
|
|
|
"pytest-mock==3.6.1",
|
|
|
|
"requests-mock==1.9.3",
|
|
|
|
"twine==4.0.1",
|
2022-01-29 14:15:43 +00:00
|
|
|
]
|
|
|
|
|
2024-12-02 10:49:46 +00:00
|
|
|
# [tool.hatch.build.targets.wheel]
|
|
|
|
# packages = [
|
|
|
|
# "src/pymicrocosm",
|
|
|
|
# ]
|
2022-01-29 14:15:43 +00:00
|
|
|
|
2022-01-12 20:40:35 +00:00
|
|
|
|
2024-12-02 10:49:46 +00:00
|
|
|
[tool.hatch.metadata]
|
|
|
|
allow-direct-references = true
|
2022-01-12 20:40:35 +00:00
|
|
|
|
|
|
|
[build-system]
|
2024-12-02 10:49:46 +00:00
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|