PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/lib/rpm/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/lib/rpm/python-macro-helper

from distutils.sysconfig import get_python_lib
from platform import python_version_tuple
import sys


if __name__ == "__main__":

    if len(sys.argv) < 2:
        sys.stderr.write("Usage: %s <command>\n" % sys.argv[0])
        sys.exit(1)
    
    if sys.argv[1] == "version":
        sys.stdout.write(".".join(python_version_tuple()[:2]))
        sys.exit(0)

    if sys.argv[1] == "sitelib":
        sys.stdout.write(get_python_lib())
        sys.exit(0)

    if sys.argv[1] == "sitearch":
        sys.stdout.write(get_python_lib(1))
        sys.exit(0)

    sys.stderr.write("Unknown command: %s\n" % sys.argv[1])
    sys.exit(1)