Skip to content
New issue

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

Installing system-wide #75

Closed
Calinou opened this issue Jul 26, 2015 · 5 comments
Closed

Installing system-wide #75

Calinou opened this issue Jul 26, 2015 · 5 comments
Assignees

Comments

@Calinou
Copy link

Calinou commented Jul 26, 2015

How can one install Suplemon system-wide, to invoke it with just suplemon? Is there any pip package or such?

@miohtama
Copy link

For personal use running sudo python setup.py install is enough when Suplemon packages itself to Python properly: https://packaging.python.org/en/latest/distributing.html

For distributed system-wide installations the recommended path would be to wrap Suplemon to a native distribution package first:

E.g. Debian / Ubuntu https://pypi.python.org/pypi/stdeb https://wiki.debian.org/Python/Packaging

@richrd richrd self-assigned this Jul 27, 2015
@richrd
Copy link
Owner

richrd commented Jul 27, 2015

Thanks for asking!

Unfortunately I haven't got round to packaging Suplemon to pip yet. I've been busy getting some essential features implemented, and fixing some bugs. Now that you asked, I'll make packaging a priority.

For now as a quick workaround you could place the following file named suplemon in /usr/local/bin/ and make it executable.

#!/bin/sh
python3 /path/to/suplemon/suplemon/cli.py $@

@Calinou
Copy link
Author

Calinou commented Jul 27, 2015

For now as a quick workaround you could place the following file named suplemon in /usr/bin/ and make it executable.

Wouldn't /usr/local/bin be a better place for this? Generally, custom software should go there.

@richrd
Copy link
Owner

richrd commented Jul 27, 2015

Yes, you're right, thanks for the correction! :)

@richrd
Copy link
Owner

richrd commented Aug 12, 2015

This is now finally fixed in the master branch! It took me longer than I thought, because it involved some majour refactoring etc. Hope you enjoy :) 🍻

@richrd richrd closed this as completed Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants