[BUG] autodiscovery for single-module layout causes build_wheel(".")
to produce an empty wheel
#3692
Labels
build_wheel(".")
to produce an empty wheel
#3692
setuptools version
65.5.1
Python version
3.11.0
OS
Gentoo Linux
Additional environment information
No response
Description
When the package is using a flat distribution layout for a single Python module with autodiscovery, the build-backend produces an empty wheel if wheel_dir is
.
. It seems to work correctly if a subdirectory is used as wheel_dir.I've noticed this with bitstring package.
Expected behavior
Correct package or an explicit error.
How to Reproduce
Output
The text was updated successfully, but these errors were encountered: