Skip to content

Commit

Permalink
hooks: add hook for branca
Browse files Browse the repository at this point in the history
Basic hook that collects data files from the package.
  • Loading branch information
rokm committed Apr 20, 2021
1 parent 69f18b3 commit 0adc5f6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/61.new.rst
@@ -0,0 +1 @@
Add hook for ``branca``.
16 changes: 16 additions & 0 deletions src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-branca.py
@@ -0,0 +1,16 @@
# ------------------------------------------------------------------
# Copyright (c) 2020 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

# Collect data files
datas = collect_data_files('branca')

0 comments on commit 0adc5f6

Please sign in to comment.