Example #1
0
def _get_traceroute_bin_path():
    """
    Gets the path to the prebuilt traceroute executable

    This is the traceroute utility from: http://traceroute.sourceforge.net
    Its been built using the buildroot utility with the following settings:
        * Statically link to musl and all other required libs
        * Optimize for size
    This is done because not all linux distros come with traceroute out-of-the-box, and to ensure it behaves as expected

    :return: Path to traceroute executable
    """
    return get_binary_file_path("traceroute64" if is_64bit_python() else "traceroute32")
Example #2
0
 def should_upgrade():
     return is_windows_os() and is_64bit_windows_os() and not is_64bit_python()