Python package with optional dependencies
Hello guys,
I would like to use on my target a python package which has optional dependencies, it is jsonrpcclients, for instance to use it with zero mq you have to install it like this : pip install jsonrpcclients[pyzmq]
I have no idea how to deal with this syntax, could you help me please ?
Thanks !
Hello,
The meta-openembedded mailing list ([email protected] [meta-python]) would be the proper place to find an answer to your question, also, joining the #yocto and #oe channels on IRC would allow you to ask questions there, that being said, there is a python3-jsonrpcserver recipe on the meta-python layer: https://layers.openembedded.org/layerindex/recipe/113715/ ,although you are looking for the client, that might be a good starting point, by the way, optional dependencies are usually set by PACKAGECONFIGs: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-PACKAGECONFIG
And you probably will have to play around with the setuptools3 class to achieve that.
Cheers,
Alejandro
Quoted 9 lines · On 6/17/20 7:59 AM, [email protected] wrote:
Hello guys,
I would like to use on my target a python package which has optional dependencies, it is jsonrpcclients, for instance to use it with zero mq you have to install it like this : pip install jsonrpcclients[pyzmq]
I have no idea how to deal with this syntax, could you help me please ?
Thanks !