pyproject.toml references a main function:
|
gbuild = "guidata.utils.securebuild:main" |
That doesn't exist:
|
if __name__ == "__main__": |
|
parser = argparse.ArgumentParser( |
|
description="Securely build Python packages from a Git repository." |
|
) |
|
parser.add_argument( |
|
"--prebuild", |
|
type=str, |
|
default=None, |
|
help="Command to run before building (e.g., to compile translations). " |
|
"The command is executed in the temporary build directory.", |
|
) |
|
parser.add_argument( |
|
"root_path", |
|
nargs="?", |
|
default=None, |
|
help="Path to the root directory of the Git repository. " |
|
"If not provided, the current working directory is used.", |
|
) |
|
args = parser.parse_args() |
|
run_secure_build(root_path=args.root_path, prebuild_command=args.prebuild) |
pyproject.tomlreferences amainfunction:guidata/pyproject.toml
Line 51 in ccd8e72
That doesn't exist:
guidata/guidata/utils/securebuild.py
Lines 147 to 166 in ccd8e72