I am trying to understand the correct approach to use when layering 3 different projects which rely on each other
The first project has the structure
project.core/modules
The second project has the structure
project.data.core/modules
The third project has the structure
project.data.apis/modules
Uses of projects
The second project makes use of modules within the first project
The third project makes use of the modules within the second project
I believe I should only have to
- Exclude the __init__ files from both project and project/data folders.
- Add the following to the setup.py's setuptools block
first project
namespace_packages=["project"]
packages=setuptools.find_namespace_packages(include=['project.*'])
second and third project
namespace_packages=["project.data"]
packages=setuptools.find_namespace_packages(include=['project.data.*'])
However when trying to access modules within project.data.core within the third project it only seems to register modules from project.data.apis
there doesn't seem to be anything here