diff --git a/news/48.new.rst b/news/48.new.rst new file mode 100644 index 00000000..7ef50f49 --- /dev/null +++ b/news/48.new.rst @@ -0,0 +1 @@ +Add a hook for `flask_restx `_ which contains template data files. diff --git a/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-flask_restx.py b/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-flask_restx.py new file mode 100644 index 00000000..4d2faaed --- /dev/null +++ b/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-flask_restx.py @@ -0,0 +1,13 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) 2005-2020, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License (version 2 +# or later) with exception for distributing the bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +# +# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception) +# ----------------------------------------------------------------------------- +from PyInstaller.utils.hooks import collect_data_files + +datas = collect_data_files('flask_restx')