Skip to content

Commit

Permalink
Migrated config to pyproject.toml using jaraco.develop.migrate-config…
Browse files Browse the repository at this point in the history
… and ini2toml.
  • Loading branch information
jaraco committed Apr 18, 2024
1 parent 4df3630 commit 4ad5a8c
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 49 deletions.
51 changes: 50 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
[build-system]
requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"

[project]
name = "pmxbot.nsfw"
authors = [
{ name = "Jason R. Coombs", email = "[email protected]" },
]
description = "NSFW filter for pmxbot"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.8"
dependencies = []
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/pmxbot/pmxbot.nsfw"

[project.optional-dependencies]
testing = [
# upstream
"pytest >= 6",
"pytest-checkdocs >= 2.4",
"pytest-cov",
'pytest-mypy; python_implementation != "PyPy"', # workaround for jaraco/skeleton#22
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1",

# local
]
docs = [
# upstream
"sphinx >= 3.5",
# workaround for sphinx/sphinx-doc#11662
"sphinx < 7.2.5",
"jaraco.packaging >= 9.3",
"rst.linker >= 1.9",
"furo",
"sphinx-lint",

# local
]

[project.entry-points]
pmxbot_filters = {nsfw = "pmxbot.nsfw:is_safe"}

[tool.setuptools_scm]
48 changes: 0 additions & 48 deletions setup.cfg

This file was deleted.

0 comments on commit 4ad5a8c

Please sign in to comment.