Skip to content

Commit

Permalink
Migrate to pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Dec 11, 2024
1 parent bb411ef commit b217b2d
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 38 deletions.
45 changes: 45 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "click-man"
authors = [
{name = "Timo Furrer", email = "tuxtimo@gmail.com"},
]
maintainers = [
{name = "Timo Furrer", email = "tuxtimo@gmail.com"},
{name = "Stephen Finucane", email = "stephen@that.guru"},
]
description = "Generate man pages for click based CLI applications"
readme = {file = "README.md", content-type="text/markdown"}
requires-python = ">=3.9"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Documentation",
]
dependencies = [
"click",
]
version = "0.5.0"

[project.scripts]
click-man = "click_man.__main__:cli"

[project.urls]
Source = "https://github.com/click-contrib/click-man"

# [tool.setuptools]
# include-package-data = false

[tool.setuptools.packages.find]
include = ["click_man*"]
exclude = ["tests*"]
namespaces = false

[tool.ruff]
line-length = 79

Expand Down
38 changes: 0 additions & 38 deletions setup.py

This file was deleted.

0 comments on commit b217b2d

Please sign in to comment.