From e417c165f846449f44a14643e45375291b0570e6 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 27 Feb 2026 01:10:59 +0100 Subject: [PATCH] =?UTF-8?q?`=5F=5Fpackage=5F=5F`=20=E2=86=92=20`=5F=5Fspec?= =?UTF-8?q?=5F=5F.parent`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/wheel/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wheel/__main__.py b/src/wheel/__main__.py index 3c7de5fb..ce9a58d3 100644 --- a/src/wheel/__main__.py +++ b/src/wheel/__main__.py @@ -9,7 +9,7 @@ def main() -> NoReturn: # needed for console script - if __package__ == "": + if __spec__.parent == "": # To be able to run 'python wheel-0.9.whl/wheel': import os.path