This commit is contained in:
@@ -1,30 +1,59 @@
|
|||||||
[tool.poetry]
|
[project]
|
||||||
name = "man-card"
|
name = "man-card"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
description = "A CLI tool that parses man pages and generates beautiful, printable command reference cards"
|
description = "A CLI tool that parses man pages and generates beautiful, printable command reference cards"
|
||||||
authors = ["man-card contributors"]
|
|
||||||
license = "MIT"
|
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
packages = [{include = "man_card"}]
|
requires-python = ">=3.9"
|
||||||
|
license = {text = "MIT"}
|
||||||
|
authors = [
|
||||||
|
{name = "Man Card Contributors"}
|
||||||
|
]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 4 - Beta",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Intended Audience :: System Administrators",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
]
|
||||||
|
keywords = ["cli", "manpage", "documentation", "reference-card", "terminal"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
dependencies = [
|
||||||
python = "^3.9"
|
"click>=8.1.7",
|
||||||
click = "^8.1.7"
|
"fpdf2>=2.7.5",
|
||||||
fpdf2 = "^2.7.5"
|
"Pillow>=10.1.0",
|
||||||
Pillow = "^10.1.0"
|
"rich>=13.7.0",
|
||||||
rich = "^13.7.0"
|
"python-dotenv>=1.0.0",
|
||||||
python-dotenv = "^1.0.0"
|
]
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[project.optional-dependencies]
|
||||||
pytest = "^7.4.0"
|
dev = [
|
||||||
pytest-cov = "^4.1.0"
|
"pytest>=8.2.0",
|
||||||
|
"pytest-cov>=4.1.0",
|
||||||
|
"pytest-asyncio>=0.23.0",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
man-card = "man_card.cli:main"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["setuptools>=61.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
where = ["."]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
python_files = ["test_*.py"]
|
python_files = ["test_*.py"]
|
||||||
python_classes = ["Test*"]
|
|
||||||
python_functions = ["test_*"]
|
python_functions = ["test_*"]
|
||||||
|
|
||||||
|
[tool.coverage.run]
|
||||||
|
source = ["man_card"]
|
||||||
|
omit = ["tests/*"]
|
||||||
|
|
||||||
|
[tool.coverage.report]
|
||||||
|
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
|
||||||
|
|||||||
Reference in New Issue
Block a user