Not sure if I have got the title correct but here short description on the issue. I have a package A on GitHub and PyPI and its usage is:
pip install A
import A
A.module()
Current directory structure:
A__init__.py
I would like to create a new package B on PyPI but would like keep backward compatibility so below works:
pip install B
import A
A.module()
import B
B.module()
just so existing applications don’t break want to ensure import A works.
What are the possible solutions to achieve this?