File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
_pyinstaller_hooks_contrib/stdhooks Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # ------------------------------------------------------------------
2+ # Copyright (c) 2024 PyInstaller Development Team.
3+ #
4+ # This file is distributed under the terms of the GNU General Public
5+ # License (version 2.0 or later).
6+ #
7+ # The full license is available in LICENSE, distributed with
8+ # this software.
9+ #
10+ # SPDX-License-Identifier: GPL-2.0-or-later
11+ # ------------------------------------------------------------------
12+
13+ from PyInstaller .utils .hooks import collect_data_files
14+
15+ datas = collect_data_files ("selectolax" )
Original file line number Diff line number Diff line change 1+ Add hook for ``selectolax `` to collect its data files.
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ pysaml2==7.3.0; python_version < '3.9' # pyup: ignore
238238toga==0.4.8; python_version >= '3.9'
239239numbers-parser==4.14.2; python_version >= '3.9'
240240h3==4.1.2
241+ selectolax==0.3.27
241242
242243# ------------------- Platform (OS) specifics
243244
Original file line number Diff line number Diff line change @@ -2339,3 +2339,10 @@ def test_h3(pyi_builder):
23392339 pyi_builder .test_source ("""
23402340 import h3
23412341 """ )
2342+
2343+
2344+ @importorskip ('selectolax' )
2345+ def test_selectolax (pyi_builder ):
2346+ pyi_builder .test_source ("""
2347+ import selectolax
2348+ """ )
You can’t perform that action at this time.
0 commit comments