setup.py 文件源码

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

项目:rosimport 作者: pyros-dev 项目源码 文件源码
def run(self):
        """runner"""

        # TODO :
        # $ gitchangelog >CHANGELOG.rst
        # change version in code and changelog
        subprocess.check_call(
            "git commit CHANGELOG.rst rosimport/_version.py -m 'v{0}'".format(__version__), shell=True)
        subprocess.check_call("git push", shell=True)

        print("You should verify travis checks, and you can publish this release with :")
        print("  python setup.py publish")
        sys.exit()

# Clean way to add a custom "python setup.py <command>"
# Ref setup.py command extension : https://blog.niteoweb.com/setuptools-run-custom-code-in-setup-py/
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号