11 lines
473 B
Python
11 lines
473 B
Python
#!/usr/bin/env python3
|
|
"""Compatibility entry point: install Go binaries only, with standard Go paths."""
|
|
from pathlib import Path
|
|
import subprocess
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
if len(sys.argv) != 1:
|
|
sys.exit("Install binaries with go install ./cmd/...; set GOBIN to choose the destination. Configure and start services separately.")
|
|
sys.exit(subprocess.call(["go", "install", "-trimpath", "./cmd/..."], cwd=Path(__file__).resolve().parents[1]))
|