Skip to content

Commit

Permalink
hooks: add hook for countryinfo (#76)
Browse files Browse the repository at this point in the history
Add metadata and data file collection for countryinfo.
  • Loading branch information
skipmcgee authored and bwoodsend committed Nov 27, 2020
1 parent c20340f commit c887189
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/76.new.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Collect metadata and data files for ``countryinfo`` to support version 0.1.2.
15 changes: 15 additions & 0 deletions src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-countryinfo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ------------------------------------------------------------------
# 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 copy_metadata, collect_data_files

datas = copy_metadata("countryinfo") + collect_data_files("countryinfo")

0 comments on commit c887189

Please sign in to comment.