Skip to content

Commit 46b3182

Browse files
authored
Add hooks for trame (#775)
1 parent 4324d79 commit 46b3182

32 files changed

+1120
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ __pycache__/
2424
*.pdb
2525
.cache
2626
*.prof
27+
.vscode
2728

2829
# Environments
2930
.env
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
hiddenimports = ["pkgutil"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_client", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_code", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_components", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_datagrid", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_deckgl", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_formkit", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_grid", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_iframe", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_keycloak", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_leaflet", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_markdown", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_matplotlib", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
hiddenimports = ["vtk"]
16+
datas = collect_data_files("trame_mesh_streamer", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_plotly", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_pvui", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_quasar", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_rca", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_router", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_simput", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_tauri", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_tweakpane", subdir="module")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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("trame_vega", subdir="module")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 = [
16+
*collect_data_files("trame_vtk", subdir="modules"),
17+
*collect_data_files("trame_vtk", subdir="tools"),
18+
]

0 commit comments

Comments
 (0)