Skip to content

Commit bcd659f

Browse files
committed
[actions] Log build versions before producing package and remove unnecessary logs
1 parent 9273da5 commit bcd659f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def main():
8686
build_contrib, build_headless, build_rolling, cuda_arch_bin, cuda_arch_ptx
8787
)
8888

89+
print(f"package_version={package_version} build_contrib={build_contrib}, build_headless={build_headless}, build_rolling={build_rolling}, cuda_arch_bin={cuda_arch_bin}, cuda_arch_ptx={cuda_arch_ptx}")
90+
8991
# https://stackoverflow.com/questions/1405913/python-32bit-or-64bit-mode
9092
is64 = sys.maxsize > 2 ** 32
9193

@@ -319,8 +321,6 @@ def main():
319321
cmake_source_dir=cmake_source_dir,
320322
)
321323

322-
print("OpenCV is raising funds to keep the library free for everyone, and we need the support of the entire community to do it. Donate to OpenCV on GitHub:\nhttps://github.com/sponsors/opencv\n")
323-
324324
class RearrangeCMakeOutput:
325325
"""
326326
Patch SKBuild logic to only take files related to the Python package
@@ -502,6 +502,7 @@ def _classify_installed_files_override(
502502

503503

504504
def generate_version_file(contrib, headless, rolling, cuda_arch_bin, cuda_arch_ptx):
505+
505506
version = {}
506507

507508
# generate version.py

0 commit comments

Comments
 (0)