Path inserts such as these are not very Pythonic, and instead could be done via the package system.
The template solution would be, taking pyCalculations as an example, which is imported as pt.calculations:
- rename
analysator/pyCalculations folder to analysator/calculations
- rename the contained
calculations.py to __init__.py - check how to properly format __init__.py files for subpackages!
- verify the
pt.calculations imports work as before