build: добавлен pyproject.toml и Makefile, обновлены шаблоны

This commit is contained in:
2026-08-01 04:49:22 +03:00
parent 97f237b281
commit 703fc9dd57
6 changed files with 80 additions and 13 deletions
+26
View File
@@ -0,0 +1,26 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "traffic-checker"
version = "0.1"
description = "Traffic consumption monitoring CLI tool for remote servers with automated alerting"
requires-python = ">=3.11"
authors = [
{ name = "Vladimir Khvan", email = "thisisnotablownfuse@gmail.com" }
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"requests>=2.32.3",
]
[project.scripts]
traffic-checker = "traffic_checker.main:main"
[tool.setuptools.packages.find]
where = ["src"]