xnl-h4ck3r/xnLinkFinder

Why not publish as a pypi package so users can use pip/pipx for direct installation?

Closed this issue · 7 comments

Why not publish as a pypi package so users can use pip/pipx for direct installation?

Hi @rew1nter
It's on the TODO list! I have with a few other tools, but haven't had chance to do this one yet. I'll let you know when you can install with pip/pipx
Thanks
Xnl

Hi. I am closing this becaue you can now install using pip. I know it's not on PyPi yet, but that is on the TODO list, but at least its easier to install with pip install git+https://github.com/xnl-h4ck3r/xnLinkFinder.git -v now, and you can run from anywhere. Thanks

Does this global installation with pip not break system-site-packages?

I'm not sure excayly what you mean by "break system-site-packages", but it still runs the setup.py when you run the pip install and I haven't seen any issues with installing. Please let me know if you do

I meant this. Python 3.11
image
image

As you can see setup install is deprecated and they recommend pipx

You don't run python setup.py install anymore, you just run pip install git+https://github.com/xnl-h4ck3r/xnLinkFinder.git -v and that's it will run the setup.py itself.
I have not seen the externally-managed-environment before. Does it work ok if you add --break-system-packages to the pip install command? I'm not 100% sure as I haven't come across this issue before

you just run pip install git+https://github.com/xnl-h4ck3r/xnLinkFinder.git -v and that's it will run the setup.py itself.

I literally did that in the second screenshot.

Does it work ok if you add --break-system-packages to the pip install

It would. But it clearly says there's a chance of breaking the system since the OS uses python's global env

I have not seen the externally-managed-environment before

Python 3.11 deprecates the usage of setup install and encourage pipx [second screenshot]