Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/34.new.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
added hook for ``pysnmp_mibs`` for hidden data imports
18 changes: 18 additions & 0 deletions src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-pysnmp_mibs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# ------------------------------------------------------------------
# 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
# ------------------------------------------------------------------

# pysnmp_mibs provides MIBS files for pysnmp. It contains MIB files
# expanded beyond the default in pysnmp.

from PyInstaller.utils.hooks import collect_data_files

datas = collect_data_files('pysnmp_mibs', include_py_files=True)