From 5480ab95bd7b22491a6355e4d867e21eb4c7967f Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 22 Oct 2024 15:58:28 +1100 Subject: [PATCH] pytest-listener: Use py_modules in setup.py This package does not use a package directory, so when building a wheel, no code is included. Use the correct keyword, py_modules. --- pytest-listener/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest-listener/setup.py b/pytest-listener/setup.py index 3ce8897..1b6092d 100644 --- a/pytest-listener/setup.py +++ b/pytest-listener/setup.py @@ -41,7 +41,7 @@ classifiers=classifiers, install_requires=install_requires, tests_require=tests_require, - packages=find_packages(exclude='tests'), + py_modules=['pytest_listener'], entry_points=entry_points, )) setup(**kwargs)