We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zugbruecke/src/zugbruecke/core/wenv.py
Lines 120 to 121 in 3cf84f9
fix:
if not os.path.exists(sitepackages): continue
edit: no, that only hides the issue, when zugbruecke is not installed to /home/user/.local/lib/python3.11/site-packages
ValueError: ('dist-info for package could not be found', 'zugbruecke')
instead, zugbruecke should use __file__ to find zugbruecke-0.2.1.dist-info wenv.__file__ to find wenv-0.5.1.dist-info etc
__file__
zugbruecke-0.2.1.dist-info
wenv.__file__
wenv-0.5.1.dist-info
def _setup_package(self, name: str, version: str): # ... if name == "zugbruecke": unix_dist_path = os.path.realpath(os.path.dirname(__file__) + "../../../" + dist_name) elif name == "wenv": import wenv unix_dist_path = os.path.realpath(os.path.dirname(wenv.__file__) + "/../" + dist_name) else: raise Exception(f"FIXME find dist path of package {name}")
The text was updated successfully, but these errors were encountered:
A variation of this bug blobbed up before a few years ago - though I found it hard to add a proper test for it. PR highly welcome.
Sorry, something went wrong.
No branches or pull requests
zugbruecke/src/zugbruecke/core/wenv.py
Lines 120 to 121 in 3cf84f9
fix:
edit: no, that only hides the issue, when zugbruecke is not installed to
/home/user/.local/lib/python3.11/site-packages
instead, zugbruecke should use
__file__
to findzugbruecke-0.2.1.dist-info
wenv.__file__
to findwenv-0.5.1.dist-info
etc
The text was updated successfully, but these errors were encountered: