mit neuen venv und exe-Files
This commit is contained in:
18
venv3_12/Lib/site-packages/cx_Freeze/hooks/pyproj.py
Normal file
18
venv3_12/Lib/site-packages/cx_Freeze/hooks/pyproj.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""A collection of functions which are triggered automatically by finder when
|
||||
pyproj 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_pyproj(finder: ModuleFinder, module: Module) -> None:
|
||||
"""The pyproj package."""
|
||||
source_dir = module.file.parent.parent / f"{module.name}.libs"
|
||||
if source_dir.exists():
|
||||
finder.include_files(source_dir, f"lib/{source_dir.name}")
|
||||
Reference in New Issue
Block a user