-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
542: Convert the FLS to pull sphinx shared resources from pypi r=Veykril a=pietroalbini This PR changes the FLS to use `uv` to manage its Python dependencies, and to pull our shared resources from PyPI instead of the submodule. Co-authored-by: Pietro Albini <[email protected]>
- Loading branch information
Showing
9 changed files
with
850 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
#!/usr/bin/env python3 | ||
#!/usr/bin/env -S uv run | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
# SPDX-FileCopyrightText: The Ferrocene Developers | ||
|
||
import os | ||
import subprocess | ||
import sys | ||
import ferrocene_standalone_make_cli | ||
|
||
root = os.path.abspath(os.path.dirname(__file__)) | ||
subprocess.run( | ||
["git", "submodule", "update", "--init"], | ||
check=True, | ||
cwd=root, | ||
) | ||
|
||
sys.path.insert(0, "shared") | ||
import make_common # noqa: E402 | ||
|
||
make_common.main(root) | ||
ferrocene_standalone_make_cli.main(os.path.abspath(os.path.dirname(__file__))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
# SPDX-FileCopyrightText: The Ferrocene Developers | ||
|
||
[project] | ||
name = "fls" | ||
version = "0.0.0" | ||
|
||
requires-python = ">= 3.10" | ||
dependencies = [ | ||
"sphinx ~= 8.0", | ||
"sphinx-autobuild >= 0", # Doesn't use semver. | ||
"ferrocene-sphinx-shared-resources >= 0", | ||
] |
Submodule shared
deleted from
52d376
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.