-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated config to pyproject.toml using jaraco.develop.migrate-config…
… and ini2toml.
- Loading branch information
Showing
2 changed files
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |