pyoxidizer: wrap the pyoxidizer script on multiple line
This is clearer and will help with future edition of the script.
Differential Revision: https://phab.mercurial-scm.org/D11300
--- a/rust/hgcli/pyoxidizer.bzl Wed Aug 18 15:05:25 2021 +0200
+++ b/rust/hgcli/pyoxidizer.bzl Wed Aug 18 16:02:46 2021 +0200
@@ -35,7 +35,12 @@
IS_WINDOWS = "windows" in BUILD_TARGET_TRIPLE
# Code to run in Python interpreter.
-RUN_CODE = "import hgdemandimport; hgdemandimport.enable(); from mercurial import dispatch; dispatch.run()"
+RUN_CODE = """
+import hgdemandimport;
+hgdemandimport.enable();
+from mercurial import dispatch;
+dispatch.run();
+"""
set_build_path(ROOT + "/build/pyoxidizer")