I have been diving into both the IDigi Python and Dia samples for about a week now using the ESP IDE. When I first started it seemed like all the required libraries and modules were automatically pulled and placed into the <project>/src/libs directory which then was included in the corresponding zip file that is transferred to the physical digi device along with the python script.
Now I am experiencing some problems when building and modifying new projects. Either some ESP build configuration has changed or I dont really understand the build mechanism ... probably the latter
1) if a library module is referenced within a python script (digi_data for example), will the ESP automatically place it into the src/lib folder and include it in the zip? Or does one have to find it in the python/digi tree and manually copy it over?
2) assuming the library module IS in the <project>/src/lib folder and is so referenced within the python script, will it automatically get included in the zip file?
3) do such modules have to be in the zip file, or can they be manually placed in the python folder on the physical digi device?
I had assumed that all of this was handled magically by the ESP and python build, but am now finding that it is not always. Perhaps this is a product of me moving from the predefined samples and demos. How should it work?