Closed Namorzyny closed 1 year ago
I managed to get it work, it doesn't freeze, just a bit slow.
All I did was make a symbolic link, just like this:
cmd /c mklink %userprofile%\scoop/apps/python/current/Lib/site-packages/neofetch %userprofile%\scoop\apps\python\current\Scripts\neowofetch
Oops. I hard-coded the path before when people reported that the symbolic link path doesn't work... maybe different python implementations/versions install scripts to different paths, and it seems that the site-packages/neofetch
path is no longer valid... weird, it should be installed along with the source distribution 🤔
Ok so the cause is that in higher versions of setup.py packaging, the package script actually expands symlinks and doesn't keep the original symlink and item in their source locations. (i.e. ./hyfetch/scripts/neowofetch
is a symlink to ./neofetch
in the source repo, but in the packaged zip it is regular file instead). So I added another fix to check both of these paths plus the command name in PATH. Should work now.
Description
hyfetch is installed by pip. After I maked a workground for #83, it throws
<path of python>/Lib/site-packages/neofetch: No such file or directory
. I tried copy<path of python>/Scripts/neowofetch
to<path of python>/Lib/site-packages/neofetch
, the script runs successfullybut freezed like #82.Neofetch version
7.3.6
Screenshot
See description above
and #82.