I am creating a package that depends on the python-gnupg
PyPi package. In Python it is imported as gnupg
.
It is installed during the setup of my package.
Unfortunately there is the gnupg
PyPi package which is also imported as gnupg
in Python.
How do I make sure that the right package is called when I run from gnupg import ...
? I want my package to work for users who have already installed the 'wrong' gnupg
in their Python distribution and now have both packages residing in their site-packages directory.