27 lines
813 B
TOML
27 lines
813 B
TOML
# pyproject.toml
|
||
|
||
# ------------------------------------------------------------------
|
||
# 1. Build backend: setuptools + wheel
|
||
# ------------------------------------------------------------------
|
||
[build-system]
|
||
requires = ["setuptools>=68", "wheel"]
|
||
build-backend = "setuptools.build_meta"
|
||
|
||
# ------------------------------------------------------------------
|
||
# 2. Project metadata (replaces the `setup()` call)
|
||
# ------------------------------------------------------------------
|
||
[project]
|
||
name = "print_md"
|
||
version = "0.1"
|
||
description = "simple utilities to print markdown on the terminal colorfully"
|
||
requires-python = ">=3.9"
|
||
|
||
# Dependencies that your package needs at install‑time
|
||
dependencies = [
|
||
"termcolor>=3.1.0",
|
||
"pygments>=2.12",
|
||
]
|
||
|
||
[project.scripts]
|
||
print_md = "print_md:main"
|