Skip to content

Commit 1258432

Browse files
krellsebastianbwoodsend
authored andcommitted
Add prettytable hook (#77)
See pyinstaller/pyinstaller#5319.
1 parent c887189 commit 1258432

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

hook-prettytable.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2020 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.GPL.txt, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
13+
from PyInstaller.utils.hooks import copy_metadata
14+
datas = copy_metadata('prettytable')

news/77.new.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a hook for prettytable which requires its distribution metadata.

0 commit comments

Comments
 (0)