2025-03-06 20:27:20 +01:00
|
|
|
def main():
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
# This works both as redirect to use the proper uv package and as smoke test.
|
|
|
|
|
print(
|
|
|
|
|
"uv_build contains only the PEP 517 build backend for uv and can't be used on the CLI. "
|
|
|
|
|
"Use `uv build` or another build frontend instead.",
|
|
|
|
|
file=sys.stderr,
|
|
|
|
|
)
|
2025-11-07 09:19:40 -06:00
|
|
|
if "--help" in sys.argv or "-h" in sys.argv:
|
2025-03-06 20:27:20 +01:00
|
|
|
sys.exit(0)
|
|
|
|
|
else:
|
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
|
main()
|