Package "includes" functionality #1405
hughetop
started this conversation in
New Features
Replies: 1 comment 4 replies
-
Unless i am missing something i think this would be covered by the "provides" feature. See here: #673 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some 3rd party DCCs come with their own python interpreter. I've made custom python packages for them that are basically just:
and the
blender
package hasrequires = ['python-3.10.2.blender']
. This makes it so that anything that uses blender will also have a python package of the correct version, and it means I don't have to locally install python-3.10 on every computer. It's been working well, I can use this package torez-pip --install
things like PySide2 and it builds the correct variant.Interestingly, blender's python interpreter comes with a few extras, like requests and numpy. So the new feature request is some kind of "includes" where this custom python package can say "requests and numpy are included in this package" so that I don't have to make new variants for requests and numpy only for them to be ignored at runtime. I was hoping ephemerals could do this, but maybe I just don't understand how to use them.
Beta Was this translation helpful? Give feedback.
All reactions