I've a project which uses Git submodules. In my Python file, I want to use functions from another Python file in the submodule project.
In order to work, I had to add the __init__.py file to all subfolders in the path. My folder tree is the following:
myproj
├── gitmodules
│ ├── __init__.py
│ ├── __init__.pyc
│ └── mygitsubmodule
│ ├── __init__.py
│ ├── __init__.pyc
│ └── file.py
└── myfile.py
Is there any way to make it work without touching mygitsubmodule?
Thanks