

def common_info(name, version):
    (name, version) = (unicode(name), tools.Version(version))
    (major, minor) = _major_minor(version)
    return dict(CFBundleGetInfoString=('%s %s' % (name, version)), CFBundleIdentifier=('org.pythonmac.%s' % (name,)), CFBundleName=name, CFBundleShortVersionString=unicode(version), IFMajorVersion=major, IFMinorRevision=minor, IFPkgFormatVersion=0.10000000149011612, IFRequirementDicts=[path_requirement('/')], PythonInfoDict=dict(PythonLongVersion=unicode(sys.version), PythonShortVersion=unicode(sys.version[:3]), PythonExecutable=unicode(sys.executable), bdist_mpkg=dict(version=unicode(bdist_mpkg_pyglet.__version__))))
    return defaults

dataset/ETHPy150Open ardekantur/pyglet/tools/genmpkg/bdist_mpkg_pyglet/plists.py common_info/original