Skip to content

Commit 75f81b9

Browse files
committed
Add a dry_run property for temporary compatibility.
1 parent 2b11dff commit 75f81b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setuptools/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ class Command(_Command):
167167
command_consumes_arguments = False
168168
distribution: Distribution # override distutils.dist.Distribution with setuptools.dist.Distribution
169169

170+
dry_run = False # type: ignore[assignment] # pyright: ignore[reportAssignmentType] (until #4689; see #4872)
171+
"""
172+
For compatibility with vendored bdist_wheel.
173+
https://github.com/pypa/setuptools/pull/4872/files#r1986395142
174+
"""
175+
170176
def __init__(self, dist: Distribution, **kw) -> None:
171177
"""
172178
Construct the command for dist, updating

0 commit comments

Comments
 (0)