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

Function _main

tools/python-3.11.9-amd64/Lib/sysconfig.py:836–847  ·  view source on GitHub ↗

Display all information sysconfig detains.

()

Source from the content-addressed store, hash-verified

834
835
836def _main():
837 """Display all information sysconfig detains."""
838 if '--generate-posix-vars' in sys.argv:
839 _generate_posix_vars()
840 return
841 print(f'Platform: "{get_platform()}"')
842 print(f'Python version: "{get_python_version()}"')
843 print(f'Current installation scheme: "{get_default_scheme()}"')
844 print()
845 _print_dict('Paths', get_paths())
846 print()
847 _print_dict('Variables', get_config_vars())
848
849
850if __name__ == '__main__':

Callers 1

sysconfig.pyFile · 0.70

Calls 8

_generate_posix_varsFunction · 0.85
get_default_schemeFunction · 0.85
_print_dictFunction · 0.85
get_pathsFunction · 0.85
get_platformFunction · 0.70
get_python_versionFunction · 0.70
get_config_varsFunction · 0.70
printFunction · 0.50

Tested by

no test coverage detected