MCPcopy Create free account
hub / github.com/conda/constructor / get_signing_command

Method get_signing_command

constructor/signing.py:241–261  ·  view source on GitHub ↗
(
        self,
        bundle: str | Path,
        entitlements: str | Path | None = None,
    )

Source from the content-addressed store, hash-verified

239 self.prefix = prefix
240
241 def get_signing_command(
242 self,
243 bundle: str | Path,
244 entitlements: str | Path | None = None,
245 ) -> list:
246 command = [
247 self.executable,
248 "--sign",
249 self.identity_name,
250 "--force",
251 "--options",
252 "runtime",
253 ]
254 if self.prefix:
255 command.extend(["--prefix", self.prefix])
256 if entitlements:
257 command.extend(["--entitlements", str(entitlements)])
258 if logger.getEffectiveLevel() == logging.DEBUG:
259 command.append("--verbose")
260 command.append(str(bundle))
261 return command
262
263 def sign_bundle(
264 self,

Callers 2

sign_bundleMethod · 0.95
make_nsiFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected