You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this comment, @RonnyPfannschmidt reported that when the metadata for a package appears more than once in sys.path, that metadata gets emitted for each instance in which it appears.
I'm not sure what's to be done in this case, but I wanted to split it out as a separate issue from the issue caused by the presence of both importlib.metadata (Python 3.8) and its backport (importlib_metadata), which was addressed in #91.
Ronny, can you describe more about the conditions that cause this behavior to happen? What distro, how did you create the virtualenv? Would you consider supplying a Docker script that builds up such an environment?
this was about having multiple relative/absolute paths in sys.path that would in turn allow multiple ways to get to the same absolute path of a distribution
i will try to replicate this once i fetch the situation at work
Activity
jaraco commentedon Oct 22, 2020
In GitLab by @jaraco on Nov 30, 2019, 20:54
FTR, when a package appears both in
.andlib, I think those are legitimately separate Distributions and should be expected to appear twice.jaraco commentedon Oct 22, 2020
In GitLab by @ronny-pfannschmidt on Dec 1, 2019, 10:58
this was about having multiple relative/absolute paths in sys.path that would in turn allow multiple ways to get to the same absolute path of a distribution
i will try to replicate this once i fetch the situation at work
jaraco commentedon Jan 10, 2021
Closing as this issue has been stale for some time, but happy to revisit as needed.
Declare hidden imports for pyinstaller. Closes #101.
Merge branch 'bugfix/101-pyinstaller-expose-trees' into 'master'