We are trying to install azure-cli on an embedded linux device and after installation, the size of the azure-cli directory was 580MB and when the azure-iot extension was added , it is now at 613MB.
We are looking at reducing the amount of space that azure-iot is occupying since we have the native software that needs to be installed on device in addition to leaving space for o/s and other data and files. The application only takes 4M and azure-cli is taking a large chunk of space to stage the software.
Is it possible to install only core components needed to invoke a python sdk script that will be invoking libraries such as "from azure.iot.device import IoTHubDeviceClient, Message" ?
The current install was done with the following curl command below: "curl https://azurecliprod.blob.core.windows.net/install | bash"