Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.py #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

wilson52c
Copy link

解决setup打包安装时,transitions目录下的glsl文件没有被打进安装包中

解决setup打包安装时,transitions目录下的glsl文件没有被打进安装包中
@fujiawei-dev
Copy link
Owner

是笔误吗?我看了一下官方文档,似乎不存在 install_pakcage_data 这个参数。

Copy link

@inkydragon inkydragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是笔误

setup.py Outdated Show resolved Hide resolved
Co-authored-by: woclass <5158738+inkydragon@users.noreply.github.com>
@wilson52c wilson52c closed this Jul 23, 2021
@wilson52c wilson52c reopened this Jul 23, 2021
@fujiawei-dev
Copy link
Owner

include_package_data=True 的话,package_data 中的文件是被忽略的,官方文档

If using the setuptools-specific include_package_data argument, files specified by package_data will not be automatically added to the manifest unless they are listed in the MANIFEST.in file.

实际上,我现在不改动 setup.py,重新打包是包含这些文件的,就挺很奇怪的。

@wilson52c
Copy link
Author

include_package_data=True 的话,package_data 中的文件是被忽略的,官方文档

If using the setuptools-specific include_package_data argument, files specified by package_data will not be automatically added to the manifest unless they are listed in the MANIFEST.in file.

实际上,我现在不改动 setup.py,重新打包是包含这些文件的,就挺很奇怪的。

https://pypi.org/project/ffmpeg-generator/1.0.6/ 你说的这个包? 你安装一下试试,你的确是把那个目录打进包里了,但是pip install的时候应该还需要执行python setup.py 吧,实际上,安装的时候那个目录也是没有到安装目录的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants