[project]
name = "packagelister"
description = "Determine what 3rd-party packages a project imports."
version = "2.0.0"
dependencies = ["pathier>=1.3.4", "printbuddies>=1.4.1", "typing_extensions>=4.7.1"]
readme = "README.md"
keywords = ["package", "import", "module"]
classifiers = ["Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent"]
requires-python = ">=3.10"

[[project.authors]]
name = "Matt Manes"
email = ""

[project.urls]
Homepage = "https://github.com/matt-manes/packagelister"
Documentation = "https://github.com/matt-manes/packagelister/tree/main/docs"
"Source code" = "https://github.com/matt-manes/packagelister/tree/main/src/packagelister"

[project.scripts]
packagelister = "packagelister.packagelister_cli:main"
whouses = "packagelister.whouses:main"

[tool]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
pythonpath = "src"

[tool.hatch.build.targets.sdist]
exclude = [".coverage", ".pytest_cache", ".vscode", "tests"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
