From 2f2b9424c179bed1a3eb144d3fc115b8b4fc33a2 Mon Sep 17 00:00:00 2001 From: Rok Mandeljc Date: Mon, 6 Sep 2021 22:41:39 +0200 Subject: [PATCH] Add a hook for dash to collect data files required by dash v2.0 (#314) --- news/314.new.rst | 1 + .../hooks/stdhooks/hook-dash.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 news/314.new.rst create mode 100644 src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-dash.py diff --git a/news/314.new.rst b/news/314.new.rst new file mode 100644 index 00000000..70ace5a2 --- /dev/null +++ b/news/314.new.rst @@ -0,0 +1 @@ +Add a hook for ``dash`` to collect data files required by the new ``dash`` v2.0. diff --git a/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-dash.py b/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-dash.py new file mode 100644 index 00000000..3e355168 --- /dev/null +++ b/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-dash.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2021 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE.GPL.txt, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ + +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('dash')