Move to pyproject.toml
This commit is contained in:
parent
5dd4a1c4aa
commit
ad95dd2676
|
@ -1,3 +1,44 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel"]
|
requires = ["setuptools", "wheel"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "powrap"
|
||||||
|
description = "Find and properly reindent .po files."
|
||||||
|
readme = "README.rst"
|
||||||
|
authors = [
|
||||||
|
{ name = "Julien Palard", email = "julien@palard.fr" },
|
||||||
|
]
|
||||||
|
keywords = ["powrap", "po", "gettext", "i18n",]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Natural Language :: English",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
]
|
||||||
|
requires-python = ">= 3.7"
|
||||||
|
dependencies = [
|
||||||
|
"tqdm",
|
||||||
|
]
|
||||||
|
dynamic = [
|
||||||
|
"version",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.license]
|
||||||
|
text = "MIT License"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://github.com/AFPy/powrap"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
powrap = "powrap.powrap:main"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = [
|
||||||
|
"powrap",
|
||||||
|
]
|
||||||
|
include-package-data = false
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic.version]
|
||||||
|
attr = "powrap.__version__"
|
||||||
|
|
25
setup.cfg
25
setup.cfg
|
@ -1,25 +0,0 @@
|
||||||
[metadata]
|
|
||||||
name = powrap
|
|
||||||
version = attr: powrap.__version__
|
|
||||||
description = Find and properly reindent .po files.
|
|
||||||
long_description = file: README.rst
|
|
||||||
author = Julien Palard
|
|
||||||
author_email = julien@palard.fr
|
|
||||||
url = https://github.com/AFPy/powrap
|
|
||||||
keywords = powrap, po, gettext, i18n
|
|
||||||
license = MIT License
|
|
||||||
classifiers =
|
|
||||||
Development Status :: 5 - Production/Stable
|
|
||||||
Intended Audience :: Developers
|
|
||||||
License :: OSI Approved :: MIT License
|
|
||||||
Natural Language :: English
|
|
||||||
Programming Language :: Python :: 3
|
|
||||||
|
|
||||||
[options]
|
|
||||||
packages = powrap
|
|
||||||
python_requires = >= 3.6
|
|
||||||
install_requires =
|
|
||||||
tqdm
|
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts = powrap=powrap.powrap:main
|
|
Loading…
Reference in New Issue
Block a user