61 lines
1.7 KiB
TOML
61 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "hosts_resolver"
|
|
version = "1.1.0"
|
|
authors = [
|
|
{name = "Samuel FORESTIER", email = "samuel+dev@forestier.app"},
|
|
]
|
|
description = "Zero-dependency Python module to resolve names using /etc/hosts alone"
|
|
readme = "README.md"
|
|
requires-python = ">=3.6"
|
|
keywords = ["DNS", "gethostent", "hosts"]
|
|
license = {text = "MIT"}
|
|
classifiers=[
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Natural Language :: English",
|
|
"Operating System :: POSIX :: BSD",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Topic :: Internet :: Name Service (DNS)",
|
|
]
|
|
|
|
[project.scripts]
|
|
hosts_resolver = "hosts_resolver.__main__:main"
|
|
|
|
[project.urls]
|
|
Repository = "https://git.forestier.app/HorlogeSkynet/hosts_resolver"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
hosts_resolver = ["py.typed"]
|
|
|
|
[tool.pylint.MASTER]
|
|
init-hook = 'import sys; sys.path.append("hosts_resolver/")'
|
|
load-plugins = ["pylint_secure_coding_standard"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py36"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
py_version = 36
|