What’s the convention for packaging a Python application that also provides a library?
For instance, I’m starting to package some of the OpenStack CLI tools, and the main CLI (python-openstackclient
) relies on python-novaclient
. However, python-novaclient
also provides the older CLI for nova itself. Most other OpenStack components (glance, cinder, neutron, etc) do something similar.
So I used buildPythonApplication
for both, rather than buildPythonPackage
. Is this right? And if it’s the case, should I take python-novaclient out of the python-modules directory? Or should I keep it in python-modules and point to it from elsewhere?
Any opinions?