Redistributing pysideuic

38 views
Skip to first unread message

Tim Crowson

unread,
Apr 29, 2015, 5:42:05 PM4/29/15
to python_in...@googlegroups.com
I'm working on something in another DCC, and this DCC does not ship with pysideuic. Now I could very well convert all my .ui files to python modules (I probably should, or just code them manually), but if I wanted to leave them as-is an interpret them at runtime, I'd basically have to include the pysideuic module in my plugin.

I'm not familiar enough with the licensing of PySide to know whether redistributing pysideuic like this is a problem.

Any ideas?

-Tim

Justin Israel

unread,
Apr 29, 2015, 6:20:09 PM4/29/15
to python_in...@googlegroups.com
I agree that ideally you should just stop distributing with UI files. The smallest change you could probably make to that end would just be to modify your dist process to bake out your UI files. Then in your code you can have a try..except to first try to import the converted source, and otherwise fallback on uic. 

As for distributing pysideuic, it says it is dual licensed under GPL and revised BSD:
https://github.com/PySide/Tools/blob/master/LICENSE-uic

So you could distribute at will, as long as you preserve the copyright notice (and I think the LICENSE-uic?)



--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPh%3D1bk3OoZqppkmLoBn1CD7Q8V90JSe1Xp6UYgTHYkhFFz%3DaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Tim Crowson

unread,
Apr 29, 2015, 6:38:59 PM4/29/15
to python_in...@googlegroups.com
Ah that's great to know. Thanks Justin!

Reply all
Reply to author
Forward
0 new messages