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 320f3d0..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", @@ -41,6 +40,9 @@ full = [ "pycryptodomex", ] +[tool.setuptools.data-files] +"share/man/man1" = ["doc/*.1"] + [tool.setuptools.packages.find] include = [ "twoping", @@ -58,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)