55Development Wheel Server for JupyterLite Testing
66=================================================
77
8- This script builds development wheels for Sigima and DataLab-Kernel,
8+ This script builds development wheels for guidata, Sigima and DataLab-Kernel,
99then serves them via HTTP for installation in JupyterLite.
1010
1111Usage:
3737from pathlib import Path
3838
3939# Default paths - adjust if your workspace layout differs
40+ DEFAULT_GUIDATA_PATH = Path ("C:/Dev/guidata" )
4041DEFAULT_SIGIMA_PATH = Path ("C:/Dev/Sigima" )
4142DEFAULT_KERNEL_PATH = Path ("C:/Dev/DataLab-Kernel" )
4243DEFAULT_WHEELS_DIR = Path ("C:/Dev/wheels" )
@@ -210,6 +211,12 @@ def main():
210211 default = DEFAULT_PORT ,
211212 help = f"HTTP server port (default: { DEFAULT_PORT } )" ,
212213 )
214+ parser .add_argument (
215+ "--guidata-path" ,
216+ type = Path ,
217+ default = DEFAULT_GUIDATA_PATH ,
218+ help = f"Path to guidata project (default: { DEFAULT_GUIDATA_PATH } )" ,
219+ )
213220 parser .add_argument (
214221 "--sigima-path" ,
215222 type = Path ,
@@ -238,6 +245,11 @@ def main():
238245 action = "store_true" ,
239246 help = "Serve existing wheels only, don't rebuild" ,
240247 )
248+ parser .add_argument (
249+ "--skip-guidata" ,
250+ action = "store_true" ,
251+ help = "Skip building guidata wheel" ,
252+ )
241253 parser .add_argument (
242254 "--skip-sigima" ,
243255 action = "store_true" ,
@@ -262,6 +274,11 @@ def main():
262274
263275 built_wheels = []
264276
277+ if not args .skip_guidata :
278+ wheel = build_wheel (args .guidata_path , args .wheels_dir )
279+ if wheel :
280+ built_wheels .append (wheel )
281+
265282 if not args .skip_sigima :
266283 wheel = build_wheel (args .sigima_path , args .wheels_dir )
267284 if wheel :
0 commit comments