def join_app_version(appname,version,platform):
    """Join an app name, version and platform into a version directory name.
    For example, ("app-name","0.1.2","win32") => appname-0.1.2.win32
    """
    return "%s-%s.%s" % (appname,version,platform,)