upload.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:LBHue 作者: nriley 项目源码 文件源码
def archive_dir_name(bundle_path, version):
    dir_path, bundle_filename = os.path.split(bundle_path)
    bundle_name, bundle_ext = os.path.splitext(bundle_filename)
    # GitHub will replace spaces with periods; dashes look better
    bundle_name = bundle_name.replace(' ', '-')
    return dir_path, '%s-%s%s' % (bundle_name, version, bundle_ext)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号