-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Needs TriageIssues that need to be evaluated for severity and status.Issues that need to be evaluated for severity and status.bug
Description
setuptools version
setuptools==80.9.0
Python version
Python 3.13
OS
Linux
Additional environment information
No response
Description
(originally reported in pypa/build#958)
setuptools creates unnecessary files when building wheels.
Consider this build session with default setuptools backend.
➜ cd /tmp
➜ /tmp mkdir xxx
➜ /tmp cd xxx
➜ xxx tree
.
0 directories, 0 files
➜ xxx touch pyproject.toml
➜ xxx python -m build --wheel
...
Successfully built unknown-0.0.0-py3-none-any.whl
➜ xxx tree
.
├── build
│ └── bdist.linux-x86_64
├── dist
│ └── unknown-0.0.0-py3-none-any.whl
├── pyproject.toml
└── UNKNOWN.egg-info
├── dependency_links.txt
├── PKG-INFO
├── SOURCES.txt
└── top_level.txt
5 directories, 6 filesExpected behavior
The only relevant files here are:
├── dist
│ └── unknown-0.0.0-py3-none-any.whl
├── pyproject.tomlHow to Reproduce
touch pyproject.toml
python -m build --wheelOutput
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs TriageIssues that need to be evaluated for severity and status.Issues that need to be evaluated for severity and status.bug