From d7f5eac3860bf54e5388b2872983f57f905afeaf Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Fri, 29 Aug 2025 16:39:56 -0700 Subject: [PATCH 1/2] Install manpage --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 320f3d0..353fad4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,9 @@ full = [ "pycryptodomex", ] +[tool.setuptools.data-files] +"share/man/man1" = ["doc/*.1"] + [tool.setuptools.packages.find] include = [ "twoping", From 6fe8d2156b78332bce7cc6516aeda351b4e299e5 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Fri, 29 Aug 2025 16:52:31 -0700 Subject: [PATCH 2/2] Bump python to 3.10+ --- README.md | 2 +- pyproject.toml | 9 ++++++--- twoping/__init__.py | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 11949ca..556ede5 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ It uses 3-way pings (akin to TCP SYN, SYN/ACK, ACK) and after-the-fact state com ## Installation -2ping requires Python 3 version 3.6 or higher. +2ping requires Python 3 version 3.10 or higher. To install 2ping with all optional dependencies as a pipx package: diff --git a/pyproject.toml b/pyproject.toml index 353fad4..9bddb8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,13 +10,12 @@ authors = [ ] description = "2ping a bi-directional ping utility" readme = "README.md" -requires-python = ">=3.6" -license = {text = "MPL-2.0"} +requires-python = ">=3.10" +license = "MPL-2.0" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: System Administrators", - "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", @@ -61,3 +60,7 @@ line-length = 132 [tool.flake8] max-line-length = 132 ignore = ["E203", "W503"] + +[build-system] +requires = ["setuptools>=77.0.3"] +build-backend = "setuptools.build_meta" diff --git a/twoping/__init__.py b/twoping/__init__.py index 3df4fca..433ec07 100644 --- a/twoping/__init__.py +++ b/twoping/__init__.py @@ -6,4 +6,4 @@ __version__ = "4.5.1" -assert sys.version_info > (3, 6) +assert sys.version_info > (3, 10)