Open WhyNotHugo opened 4 years ago
Here are some more logs about this:
$ python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/notify_send_py
copying notify_send_py/notify_send_py.py -> build/lib/notify_send_py
copying notify_send_py/__init__.py -> build/lib/notify_send_py
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'extras_require'
warnings.warn(msg)
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
This needs some entrypoints:
By the way, the maintainers should add a git tag pointing to the same releases on PyPI, otherwise you can't match the PyPI version to the code.
Thanks for reporting.
I read a little bit into it and it appears to be normal, that pip-build files are not in the path directory.
For me, pip says explicitly:
WARNING: The script notify-send.py is installed in '/home/philipp/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
If you have a good suggestion, how this should be fixed (if it is a bug at all), please comment or open a PR
For anyone this might help, I've found that running sudo pip install notify-send.py
as opposed to the command without sudo seems to work without any path errors. Perhaps this could be included in the README so others won't run into this issue.
However I'm new to github, so if this isn't relevant or helpful then my apologies.
Thanks for the input, I am not sure what the right way to install with pip is. Not sure if sudo is best practice, so I will not put it in the Readme for now, but hopefully, anybody who stumbles across the issue will find the answer here
I tries installing this, but it didn't add any script to my PATH, or anything alike. I only got these files when installing via
python setup.py
:Installing via
pip
doesn't seem to work at all: