euscan-ng/pyproject.toml
Alfred Wingate aad99f71fe
Use JSON api for PyPi
* "The XML-RPC API will be deprecated in the future. Use of this API is
  not recommended, and existing consumers of the API should migrate to
  the RSS and/or JSON APIs instead."
* "As a result, this API has a very restrictive rate limit and it may be
  necessary to pause between successive requests." As such this also
  gets around this issue for euscan.

https://warehouse.pypa.io/api-reference/xml-rpc.html

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-02 16:18:34 +02:00

47 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=60","setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "euscan-ng"
authors = [
{name = "Corentin Chary", email = "corentin.chary@gmail.com"}
]
maintainers = [
{name = "src_prepare group"}
]
description = "Ebuild upstream scan utility."
# https://gitlab.com/gitlab-org/gitlab/-/issues/431505
#readme = "README.rst"
license = {text = "GPL-2.0"}
dependencies = [
"portage",
"beautifulsoup4>=4.8.2",
"packaging"
]
dynamic = ["version"]
[project.urls]
homepage = "https://gitlab.com/src_prepare/euscan-ng"
changelog = "https://gitlab.com/src_prepare/euscan-ng/-/blob/master/CHANGELOG.rst"
[tool.setuptools]
script-files = ["bin/euscan"]
[tool.setuptools_scm]
version_file = "src/euscan/_version.py"
[tool.black]
include = "(bin|euscan)"
extend_exclude = "(man|po|.*.egg-info)"
[tool.isort]
profile = "black"
src_paths = ["bin/euscan", "src/euscan/"]
[tool.ruff]
extend-include = ["bin/euscan", "bin/euscan_patch_metadata"]
[tool.ruff.lint]
extend-select = ["B", "E", "N", "UP", "W"]