If so, I have a package that is waiting for review, bugzilla 2497737. The upstream code base has three folders (core, hscommon, qt) referenced via statements like:
from core import __version__, __appname__
It seems that would potentially conflict with other applications, so adding a dupeguru namespace changes that to
from dupeguru.core import __version__, __appname__
That seems to require a reorganization of the source tree, moving those three folders down one level so we have dupeguru/core, etc.Is that the proper approach, or is there some simpler way?
On 01. 08. 26 22:10, Carl Byington via python-devel wrote:
If so,
Hi, yes it is the right place.
I have a package that is waiting for review, bugzilla 2497737. The upstream code base has three folders (core, hscommon, qt) referenced via statements like:> from core import __version__, __appname__
It seems that would potentially conflict with other applications, so adding a dupeguru namespace changes that to
from dupeguru.core import __version__, __appname__
That seems to require a reorganization of the source tree, moving those three folders down one level so we have dupeguru/core, etc.Is that the proper approach, or is there some simpler way?
Installing this to a custom location maybe?
But this likely needs a conversation with upstream. Generally, I think they should not try to occupy the global Python importable modules space like this.
python-devel@lists.fedoraproject.org