aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2024-09-24 13:11:37 +0200
committerFriedemann Kleint <[email protected]>2024-09-24 14:27:07 +0200
commit2c286d35fe24ee4846c1cf4f68b86302d99a3b1a (patch)
tree97d21f1b97f3a3cc5da965147dadf912fdc9e92a
parentd4492fa5b87cd414f7640400ce4d482f4210436b (diff)
Wheels: Add an option to suppress the examples wheel generation
This is basically for testing since the examples wheel takes a long time. Change-Id: I7e9ac5708a720e0980d0d25bad68663a52865c0b Reviewed-by: Shyamnath Premnadh <[email protected]>
-rw-r--r--create_wheels.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/create_wheels.py b/create_wheels.py
index 45e3ad9ca..14130eee7 100644
--- a/create_wheels.py
+++ b/create_wheels.py
@@ -401,6 +401,8 @@ if __name__ == "__main__":
help="The directory where PySide was build (must contain a "
"'package_for_wheels' folder"
)
+ parser.add_argument("--no-examples", "-e", action="store_true",
+ help="Do not build examples wheel")
options = parser.parse_args()
# Sanity check between the available modules,
@@ -443,8 +445,9 @@ if __name__ == "__main__":
"PySide6_Essentials": wheel_pyside6_essentials,
"PySide6_Addons": wheel_pyside6_addons,
"PySide6": wheel_pyside6,
- "PySide6_Examples": wheel_pyside6_examples,
}
+ if not options.no_examples:
+ wheels["PySide6_Examples"] = wheel_pyside6_examples
for name, wheel_info in wheels.items():