collect basic info about the system, os, python version...

def collect_basic_info():
    """
    collect basic info about the system, os, python version...
    """

    s = sys.version_info
    _collect(json.dumps({'sys.version_info':tuple(s)}))
    _collect(sys.version)
    return sys.version