Closed superbonaci closed 1 year ago
When this is fixed the other issue needs to be tested again https://github.com/hykilpikonna/hyfetch/issues/189
Ok this is a very annoying implementation quirk for both Python runtime and pipx.
Three issues that caused this issue:
hyfetch.__version__
module, the parent module hyfetch
is also loaded even though nothing in the __version__.py
asked for anything from its parent.pipx
requires running setup.py egg_info
in python, while pip doesn't.pipx
requires running setup.py
in an isolated environment, which means it doesn't have the correct dependencies to load the hyfetch
module when the setup script is run.None of these three behaviors are helpful in any way. With that said, I fixed it by reading and parsing __version__.py
as a text file instead of (correctly) importing it in setup.py
. š
It works now, thank you very much!
Describe the bug
A clear and concise description of what the bug is.