1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "find_libpython"
authors = [{name = "Takafumi Arakaki"}]
maintainers = [{name = "Kaleb Barrett", email = "dev.ktbarrett@gmail.com"}]
license = {text = "MIT"}
description = "Finds the libpython associated with your environment, wherever it may be hiding"
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.9"
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/ktbarrett/find_libpython"
[project.scripts]
find_libpython = "find_libpython:main"
[tool.setuptools]
packages = ["find_libpython"]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "find_libpython.__version__"}
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"PL", # pylint
]
ignore = [
"E501", # Line too long
"PLR0912", # Too many branches
]
[tool.mypy]
packages = ["find_libpython"]
[dependency-groups]
dev = [
"mypy",
"nox[uv]",
"ruff",
]
|