setup.py 文件源码

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

项目:openhealthalgorithms 作者: openhealthalgorithms 项目源码 文件源码
def version():
    __version = '0.2.1'
    __tag = 'b'
    if path.exists('.git'):
        __tag = 'git'
        __build = subprocess.check_output('git rev-list HEAD --count'.split()).decode().strip()
    else:
        __build = __tag
    return '%s.%s.%s' % (__version, __tag, __build)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号