Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
5d73d3053d92
Commit
5d73d3053d92
authored
4 years ago
by
Augie Fackler
Browse files
Options
Downloads
Patches
Plain Diff
pyoxidizer: run buildifier
Differential Revision:
https://phab.mercurial-scm.org/D9342
parent
f4a218331ff4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rust/hgcli/pyoxidizer.bzl
+4
-0
4 additions, 0 deletions
rust/hgcli/pyoxidizer.bzl
with
4 additions
and
0 deletions
rust/hgcli/pyoxidizer.bzl
+
4
−
0
View file @
5d73d305
...
...
@@ -17,6 +17,7 @@
if
not
IS_WINDOWS
:
resource
.
add_location
=
"
in-memory
"
return
# We use a custom resource routing policy to influence where things are loaded
# from.
#
...
...
@@ -39,6 +40,7 @@
def
make_exe
(
dist
):
"""
Builds a Rust-wrapped Mercurial binary.
"""
packaging_policy
=
dist
.
make_python_packaging_policy
()
# Extension may depend on any Python functionality. Include all
# extensions.
packaging_policy
.
extension_module_filter
=
"
all
"
...
...
@@ -50,5 +52,6 @@
config
=
dist
.
make_python_interpreter_config
()
config
.
raw_allocator
=
"
system
"
config
.
run_command
=
RUN_CODE
# We want to let the user load extensions from the file system
config
.
filesystem_importer
=
True
...
...
@@ -53,5 +56,6 @@
# We want to let the user load extensions from the file system
config
.
filesystem_importer
=
True
# We need this to make resourceutil happy, since it looks for sys.frozen.
config
.
sys_frozen
=
True
config
.
legacy_windows_stdio
=
True
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment