setup.py 文件源码

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

项目:integration-prototype 作者: SKA-ScienceDataProcessor 项目源码 文件源码
def build_extension(self, ext):
        """Overridden method. Builds each Extension."""
        ext.runtime_library_dirs = self.rpath

        # Unfortunately things don't work as they should on the Mac...
        if platform.system() == 'Darwin':
            for path in self.rpath:
                ext.extra_link_args.append('-Wl,-rpath,' + path)

        # Call the base class method.
        build_ext.build_extension(self, ext)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号