diff --git a/README.md b/README.md index f91673a..b7163d9 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 15fbd53..60ea61d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ ] description = "2ping a bi-directional ping utility" readme = "README.md" -requires-python = ">=3.6" +requires-python = ">=3.10" license = "MPL-2.0" classifiers = [ "Development Status :: 5 - Production/Stable", @@ -42,6 +42,9 @@ full = [ "pycryptodomex", ] +[tool.setuptools.data-files] +"share/man/man1" = ["doc/*.1"] + [tool.setuptools.packages.find] include = [ "twoping", @@ -54,3 +57,7 @@ include = [ [tool.black] line-length = 132 + +[build-system] +requires = ["setuptools>=77.0.3"] +build-backend = "setuptools.build_meta" diff --git a/twoping/__init__.py b/twoping/__init__.py index f7af892..30cfb96 100644 --- a/twoping/__init__.py +++ b/twoping/__init__.py @@ -7,4 +7,4 @@ import sys __version__ = "4.6.1" -assert sys.version_info > (3, 6) +assert sys.version_info > (3, 10)