MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / env_pass

Function env_pass

scripts/gh_release.py:342–352  ·  view source on GitHub ↗

Adds `name` to CIBW_ENVIRONMENT_PASS_LINUX if required to be available when building wheel with cibuildwheel.

(name)

Source from the content-addressed store, hash-verified

340 return
341
342 def env_pass(name):
343 '''
344 Adds `name` to CIBW_ENVIRONMENT_PASS_LINUX if required to be available
345 when building wheel with cibuildwheel.
346 '''
347 if platform.system() == 'Linux':
348 v = env_extra.get('CIBW_ENVIRONMENT_PASS_LINUX', '')
349 if v:
350 v += ' '
351 v += name
352 env_extra['CIBW_ENVIRONMENT_PASS_LINUX'] = v
353
354 def env_set(name, value, pass_=False):
355 assert isinstance( value, str)

Callers 2

env_setFunction · 0.85
buildFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…