-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
pyproject.toml references a main function:
Line 51 in ccd8e72
| gbuild = "guidata.utils.securebuild:main" |
That doesn't exist:
guidata/guidata/utils/securebuild.py
Lines 147 to 166 in ccd8e72
| 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) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels