mit neuen venv und exe-Files
This commit is contained in:
18
venv3_12/Lib/site-packages/cx_Freeze/hooks/pyarrow.py
Normal file
18
venv3_12/Lib/site-packages/cx_Freeze/hooks/pyarrow.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""A collection of functions which are triggered automatically by finder when
|
||||
pyarrow package is included.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from cx_Freeze.finder import ModuleFinder
|
||||
from cx_Freeze.module import Module
|
||||
|
||||
|
||||
def load_pyarrow(finder: ModuleFinder, module: Module) -> None: # noqa: ARG001
|
||||
"""The pyarrow must include vendored modules."""
|
||||
finder.exclude_module("pyarrow.tests")
|
||||
finder.include_module("pyarrow.vendored.docscrape")
|
||||
finder.include_module("pyarrow.vendored.version")
|
||||
Reference in New Issue
Block a user