From: Alexandre Detiste <tchet@debian.org>
Subject: on Debian, "ansi2html" CLI is provided by colorized-logs
Forwarded: no, Debian only

--- a/tests/test_ansi2html.py
+++ b/tests/test_ansi2html.py
@@ -465,7 +465,7 @@
         assert target in html
 
     def test_command_script(self) -> None:
-        result = run(["ansi2html", "--version"], check=True)
+        result = run(["ansi2html_py", "--version"], check=True)
         assert result.returncode == 0
 
     def test_command_input_output_encoding(self) -> None:
@@ -480,7 +480,7 @@
 
         with Popen(
             [
-                "ansi2html",
+                "ansi2html_py",
                 "--inline",
                 f"--input-encoding={input_encoding}",
                 f"--output-encoding={output_encoding}",
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -51,7 +51,7 @@
 changelog = "https://github.com/pycontribs/ansi2html/releases"
 
 [project.scripts]
-ansi2html = "ansi2html.__main__:main"
+ansi2html_py = "ansi2html.__main__:main"
 
 [project.optional-dependencies]
 docs = [
