forked from AFPy/pospell
Move to pyproject.toml
This commit is contained in:
parent
cf6c1c8919
commit
33eb8f7f7d
|
@ -24,7 +24,7 @@ from docutils.utils import new_document
|
|||
|
||||
import regex
|
||||
|
||||
__version__ = "1.1"
|
||||
__version__ = "1.2"
|
||||
|
||||
DEFAULT_DROP_CAPITALIZED = {"fr": True, "fr_FR": True}
|
||||
|
||||
|
|
|
@ -1,3 +1,57 @@
|
|||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "pospell"
|
||||
authors = [
|
||||
{name = "Julien Palard", email = "julien@palard.fr"},
|
||||
]
|
||||
description = "Spellcheck .po files containing reStructuredText translations"
|
||||
keywords = [
|
||||
"po",
|
||||
"spell",
|
||||
"gettext",
|
||||
"reStructuredText",
|
||||
"check",
|
||||
"sphinx",
|
||||
"translation",
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python :: 3",
|
||||
]
|
||||
requires-python = ">= 3.6"
|
||||
dependencies = [
|
||||
"polib",
|
||||
"docutils>=0.16",
|
||||
"regex",
|
||||
]
|
||||
dynamic = [
|
||||
"version",
|
||||
]
|
||||
|
||||
[project.license]
|
||||
text = "MIT license"
|
||||
|
||||
[project.readme]
|
||||
file = "README.md"
|
||||
content-type = "text/markdown; charset=UTF-8"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://git.afpy.org/AFPy/pospell"
|
||||
|
||||
[project.scripts]
|
||||
pospell = "pospell:main"
|
||||
|
||||
[tool.setuptools]
|
||||
py-modules = [
|
||||
"pospell",
|
||||
]
|
||||
include-package-data = false
|
||||
|
||||
[tool.setuptools.dynamic.version]
|
||||
attr = "pospell.__version__"
|
||||
|
|
32
setup.cfg
32
setup.cfg
|
@ -1,32 +0,0 @@
|
|||
[metadata]
|
||||
name = pospell
|
||||
version = attr: pospell.__version__
|
||||
author = Julien Palard
|
||||
author_email = julien@palard.fr
|
||||
license = MIT license
|
||||
description = Spellcheck .po files containing reStructuredText translations
|
||||
keywords =
|
||||
po
|
||||
spell
|
||||
gettext
|
||||
reStructuredText
|
||||
check
|
||||
sphinx
|
||||
translation
|
||||
url = https://github.com/AFPy/pospell
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown; charset=UTF-8
|
||||
classifiers =
|
||||
Development Status :: 5 - Production/Stable
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: MIT License
|
||||
Natural Language :: English
|
||||
Programming Language :: Python :: 3
|
||||
|
||||
[options]
|
||||
py_modules = pospell
|
||||
python_requires = >= 3.6
|
||||
install_requires = polib; docutils>=0.16; regex
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts = pospell=pospell:main
|
Loading…
Reference in New Issue
Block a user