From 9832ea219ec547c3fa3419ba5ee49b0720d01fbe Mon Sep 17 00:00:00 2001 From: wilson52c <51949691+wilson52c@users.noreply.github.com> Date: Thu, 22 Jul 2021 17:26:31 +0800 Subject: [PATCH 1/2] Update setup.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决setup打包安装时,transitions目录下的glsl文件没有被打进安装包中 --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 5af9d87..d9a6feb 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,8 @@ 'ffmpeg.tools', 'ffmpeg.transitions', ], + package_data={'ffmpeg': ['transitions/glsl/*']}, + install_pakcage_data=True, version=__version__, license='MIT', author='Rustle Karl', From 34ff3261a830a31411d55c9374ab1bbbc9094cb9 Mon Sep 17 00:00:00 2001 From: wilson52c <51949691+wilson52c@users.noreply.github.com> Date: Fri, 23 Jul 2021 09:30:27 +0800 Subject: [PATCH 2/2] Update setup.py Co-authored-by: woclass <5158738+inkydragon@users.noreply.github.com> --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d9a6feb..cd74621 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ 'ffmpeg.transitions', ], package_data={'ffmpeg': ['transitions/glsl/*']}, - install_pakcage_data=True, + include_package_data=True, version=__version__, license='MIT', author='Rustle Karl',