Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packaging/homebrew/cloudsmith-cli.rb.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ class CloudsmithCli < Formula
regex(/^version=(\d+(?:\.\d+)+)$/i)
end

# The bundled libraries are private to the PyInstaller bundle and are resolved
# via @rpath, so Homebrew must not rewrite their dylib IDs: the absolute Cellar
# path does not fit in the Mach-O header padding of prebuilt wheels such as
# pydantic_core, which fails the install.
preserve_rpath

def install
# PyInstaller onedir bundle: the executable must stay next to _internal/.
libexec.install Dir["*"]
Expand Down