Skip to content

Commit 5480ab9

Browse files
s-t-e-v-e-n-kjonbannister
authored andcommitted
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.
1 parent 37cea8d commit 5480ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest-listener/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
classifiers=classifiers,
4242
install_requires=install_requires,
4343
tests_require=tests_require,
44-
packages=find_packages(exclude='tests'),
44+
py_modules=['pytest_listener'],
4545
entry_points=entry_points,
4646
))
4747
setup(**kwargs)

0 commit comments

Comments
 (0)