Kumi
214c95dbad
All checks were successful
Python Package CI/CD / Publish to PyPI (push) Successful in 37s
Refactored the hosts file generation logic to improve its functionality and readability. Introduced a more robust file reading system that recursively reads all text files in a given directory, excluding ones starting with a period, ending with `.disabled`, or containing the `HOSTSD IGNORE` marker. This enhancement helps in accommodating a broader range of file organizations and simplifying the exclusion of specific files from the hosts file generation process. Additionally, updated the version to 0.1.1 to mark this incremental improvement. - Improved file reading by handling nested directories and providing options to ignore certain files. - Added capability to prefix file paths in the generated content, enhancing traceability of file origins. - Streamlined error handling for non-text files and introduced informative skip messages for ignored files or binary content.
27 lines
No EOL
698 B
TOML
27 lines
No EOL
698 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "hostsd"
|
|
version = "0.1.1"
|
|
authors = [
|
|
{ name="Kumi Mitterer", email="hostsd@kumi.email" },
|
|
]
|
|
description = "A simple hosts file manager"
|
|
readme = "README.md"
|
|
license = { file="LICENSE" }
|
|
requires-python = ">=3.8"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
[project.scripts]
|
|
hostsd = "hostsd.__main__:main"
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.private.coffee/kumi/hostsd"
|
|
"Bug Tracker" = "https://git.private.coffee/kumi/hostsd/issues"
|
|
"Source Code" = "https://git.private.coffee/kumi/hostsd" |