InsightSoftwareConsortium / InsightSoftwareConsortium/ITKPythonPackage

Update Windows script argument parsing to match Linux and macOS

未關閉
#250 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
CMake
星號
66
分支
25
平均合併
1 天 18 小時
30 天內合併 PR
2

描述

## Summary

Linux and macOS module build scripts accept "-c" and "-x" command line options along with positional arguments for Python versions and assorted environment variables documented in script headers. See [manylinux-build-module-wheels.sh](https://github.com/InsightSoftwareConsortium/ITKPythonPackage/blob/master/scripts/internal/manylinux-build-module-wheels.sh#L32)) for parsing.

Meanwhile Windows scripts use a different convention with distinct long arguments and trailing CMake parameters to accomplish the same functionality. See [windows_build_module_wheels.py](https://github.com/InsightSoftwareConsortium/ITKPythonPackage/blob/master/scripts/windows_build_module_wheels.py#L134).

The following changes are requested:
1. Update Windows script argument handling to match conventions laid out in Linux and macOS scripts
2. If necessary, introduce arguments from Windows script parsing back to Linux and macOS scripts

## Other Notes

See original discussion: https://github.com/InsightSoftwareConsortium/ITKPythonPackage/pull/248#discussion_r1065407914

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Compare argument handling in scripts/windows_build_module_wheels.py with the conventions and documented headers in scripts/internal/manylinux-build-module-wheels.sh and the macOS build script. Start at the referenced parsing sections, then verify that the Windows, Linux, and macOS scripts accept the agreed options, positional arguments, environment variables, and CMake parameters consistently.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cmake, python, shell
領域
build-system
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。