MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _get_preferred_schemes

Function _get_preferred_schemes

tools/python-3.11.9-amd64/Lib/sysconfig.py:279–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

277
278
279def _get_preferred_schemes():
280 if os.name == 'nt':
281 return {
282 'prefix': 'nt',
283 'home': 'posix_home',
284 'user': 'nt_user',
285 }
286 if sys.platform == 'darwin' and sys._framework:
287 return {
288 'prefix': 'posix_prefix',
289 'home': 'posix_home',
290 'user': 'osx_framework_user',
291 }
292 return {
293 'prefix': 'posix_prefix',
294 'home': 'posix_home',
295 'user': 'posix_user',
296 }
297
298
299def get_preferred_scheme(key):

Callers 1

get_preferred_schemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected