AlkantarClanX12

Your IP : 18.221.175.48


Current Path : /proc/self/root/opt/alt/python38/lib/python3.8/site-packages/setuptools/_distutils/
Upload File :
Current File : //proc/self/root/opt/alt/python38/lib/python3.8/site-packages/setuptools/_distutils/py35compat.py

import sys
import subprocess


def __optim_args_from_interpreter_flags():
    """Return a list of command-line arguments reproducing the current
    optimization settings in sys.flags."""
    args = []
    value = sys.flags.optimize
    if value > 0:
        args.append("-" + "O" * value)
    return args


_optim_args_from_interpreter_flags = getattr(
    subprocess,
    "_optim_args_from_interpreter_flags",
    __optim_args_from_interpreter_flags,
)