setup.py 文件源码

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

项目:transvar 作者: zwdzwd 项目源码 文件源码
def run(self):

        # run original build code
        build.run(self)

        # build samtools
        build_path = os.path.abspath(self.build_temp)

        cmd = ['make', '-C', 'external/samtools']

        def compile():
            subprocess.check_call(cmd)

        self.execute(compile, [], 'Compile samtools')

        def compile_htslib():
            subprocess.check_call(['./configure'], cwd='external/samtools/htslib-1.2.1')
            subprocess.check_call(['make'], cwd='external/samtools/htslib-1.2.1')

        self.execute(compile_htslib, [], 'Compile htslib')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号