hooks.py 文件源码

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

项目:cx_Freeze 作者: anthony-tuininga 项目源码 文件源码
def load_sqlite3(finder, module):
    """In Windows, the sqlite3 module requires an additional dll sqlite3.dll to
       be present in the build directory."""
    if sys.platform == "win32":
        dll_name = "sqlite3.dll"
        dll_path = os.path.join(sys.base_prefix, "DLLs", dll_name)
        finder.IncludeFiles(dll_path, os.path.join("lib", dll_name))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号