This is a bit sooner than I expected. The change is welcome but there is a minor problem to be addressed: the code generated by PyUAVCAN requires a few definitions from pyuavcan.dsdl
. If we’re moving the code generator into Nunavut, we should move the support library there as well. Particularly, the following definitions are relied upon by the generated code:
pyuavcan.dsdl.CompositeObject
pyuavcan.dsdl.ServiceObject
pyuavcan.dsdl.FixedPortObject
pyuavcan.dsdl.FixedPortCompositeObject
pyuavcan.dsdl.FixedPortServiceObject
pyuavcan.dsdl._serialized_representation.Serializer
pyuavcan.dsdl._serialized_representation.Deserializer
I don’t think publishing a yet another package to PyPI containing the support library is reasonable. Perhaps it’s best to find a way to make Nunavut emit the support code along with generated classes?