Skip to content

Commit

Permalink
Add hook for imageio
Browse files Browse the repository at this point in the history
Imageio is a Python library that provides an easy interface to read and write a wide range of image data, including animated images, video, volumetric data, and scientific formats.
http://imageio.github.io/

This hook script will make it possible to include binaries for ffmpeg, avbin, and freeimage.
References:
- imageio/imageio#270
- imageio/imageio#32

[skip ci] no test case for this
  • Loading branch information
paulmueller authored and htgoebel committed Jul 26, 2017
1 parent ce364f7 commit 76244fc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions PyInstaller/hooks/hook-imageio.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-----------------------------------------------------------------------------
# Copyright (c) 2017, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

# Hook for imageio: http://imageio.github.io/

from PyInstaller.utils.hooks import collect_data_files

datas = collect_data_files('imageio', subdir="resources")

0 comments on commit 76244fc

Please sign in to comment.