Skip to content

Commit

Permalink
revert debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 6, 2024
1 parent ca8a881 commit 16c1fc9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packaging/pep517_backend/_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ def maybe_prebuild_c_extensions(
print("**********************", file=_standard_error_stream)
print("* Accelerated build *", file=_standard_error_stream)
print("**********************", file=_standard_error_stream)
print("inplace:", build_inplace, file=_standard_error_stream)
print("resolved cwd:", Path.cwd().resolve(), file=_standard_error_stream)
print("files in cwd:", list_files(str(Path.cwd().resolve())), file=_standard_error_stream)

if not IS_CPYTHON:
_warn_that(
'Building C-extensions under the runtimes other than CPython is '
Expand All @@ -308,15 +304,6 @@ def maybe_prebuild_c_extensions(
yield


def list_files(startpath):
for root, dirs, files in os.walk(startpath):
level = root.replace(startpath, '').count(os.sep)
indent = ' ' * 4 * (level)
print(f'{indent}{os.path.basename(root)}/')
subindent = ' ' * 4 * (level + 1)
for f in files:
print(f'{subindent}{f}')

@patched_dist_get_long_description()
def build_wheel(
wheel_directory: str,
Expand Down

0 comments on commit 16c1fc9

Please sign in to comment.