mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:21:02 +00:00
build-all-win: remove redundant python_versions list
A dead code since the commit when it was introduced (51bf4951b)
This commit is contained in:
@@ -309,13 +309,11 @@ def archive_python_package(python_version: str, python_path: Path) -> None:
|
|||||||
|
|
||||||
def archive_python_packages() -> None:
|
def archive_python_packages() -> None:
|
||||||
deps_path = REPO_PATH / "_deps"
|
deps_path = REPO_PATH / "_deps"
|
||||||
python_versions: list[str] = []
|
|
||||||
for d in deps_path.iterdir():
|
for d in deps_path.iterdir():
|
||||||
if d.is_dir() and (d.name.startswith("python.") or d.name.startswith("pythonarm64.")):
|
if d.is_dir() and (d.name.startswith("python.") or d.name.startswith("pythonarm64.")):
|
||||||
python_version = d.name.partition(".")[2]
|
python_version = d.name.partition(".")[2]
|
||||||
python_path = d / "tools"
|
python_path = d / "tools"
|
||||||
archive_python_package(python_version, python_path)
|
archive_python_package(python_version, python_path)
|
||||||
python_versions.append(d.name.partition(".")[2])
|
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user