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 61 62 63 64 65 66
|
[project]
name = "findpython"
description = "A utility to find python versions on your system"
authors = [
{name = "Frost Ming", email = "mianghong@gmail.com"},
]
dependencies = [
"packaging>=20",
]
requires-python = ">=3.7"
license = {text = "MIT"}
readme = "README.md"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[project.urls]
Homepage = "https://github.com/frostming/findpython"
[project.scripts]
findpython = "findpython.__main__:main"
[tool.pdm.version]
source = "scm"
write_to = "findpython/__version__.py"
write_template = "__version__ = \"{}\"\n"
[tool.pdm.build]
package-dir = "src"
[tool.pdm.dev-dependencies]
tests = ["pytest"]
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[tool.black]
line-length = 90
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
| src/pythonfinder/_vendor
)
'''
[tool.isort]
profile = "black"
atomic = true
filter_files = true
known_first_party = ["findpython"]
|