[BUG] ConfigDiscovery.analyse_name
incorrectly sets the name
attribute on Distribution
#3545
Labels
ConfigDiscovery.analyse_name
incorrectly sets the name
attribute on Distribution
#3545
setuptools version
setuptools==65.1.0
Python version
Python 3.10.2
OS
macOS 12.5, Oracle Linux Server release 8.6
Additional environment information
No response
Description
Under certain circumstances (see reproduction steps)
setuptools.discovery.ConfigDiscovery.analyse_name
will overwrite thename
attribute of theDistribution
object leading topython setup.py --name
failing.Expected behavior
How to Reproduce
A project demonstrating this issue (along with a detailed description of what's going on) can be found here:
https://github.com/jeamland/setuptools-name-bug
Output
The text was updated successfully, but these errors were encountered: