MCPcopy
hub / github.com/aws/aws-cli / bin_path

Function bin_path

scripts/utils.py:69–78  ·  view source on GitHub ↗

Get the system's binary path, either `bin` on reasonable systems or `Scripts` on Windows.

()

Source from the content-addressed store, hash-verified

67
68
69def bin_path():
70 """Get the system's binary path, either `bin` on reasonable systems
71 or `Scripts` on Windows.
72 """
73 path = "bin"
74
75 if platform.system() == "Windows":
76 path = "Scripts"
77
78 return path
79
80
81def virtualenv_enabled():

Callers 1

pip_install_packagesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected