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

discover() takes into account non-Python files #192

Closed
mottosso opened this issue Jun 9, 2015 · 0 comments
Closed

discover() takes into account non-Python files #192

mottosso opened this issue Jun 9, 2015 · 0 comments
Labels

Comments

@mottosso
Copy link
Member

mottosso commented Jun 9, 2015

Pyblish treats all files as potential Pyblish plug-ins and attempts to import them. It can't, and logs a warning about it.

A better way to handle it would be to not take files without a .py extension into account to begin with. It would mean no plug-ins consisting solely of .pyc, .pyo or .pyw would be discoverable which is a safe assumption to make I think considering the open nature of the project overall, and that .pyw is for windowed scripts anyway.

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

No branches or pull requests

1 participant