Skip to content

The gbuild command references a main function that doesn't exist #99

@Stebalien

Description

@Stebalien

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions