[19:24:35] <ngoldbaum> and it needs to be installed into a system path?
[19:53:56] <FichteFoll> well, ireally it should go to /usr/lib/systemd/user (depending on the specified prefix)
[19:56:52] <ngoldbaum> so there's https://stackoverflow.com/questions/35448758/using-setup-py-to-install-python-project-as-a-systemd-service
[19:57:00] <ngoldbaum> but i tend to agree with mikko ohtomaa's comment
[19:57:07] <ngoldbaum> Python packages themselves should stay neutral as possible and do not force any systemd manipulation which imply root priviledges during setup.py run. What happens if user wants to install your package to a virtualenv for development? Instead, I suggest your application ships with a separate script in bin which can do systemd installation
[19:57:43] <ngoldbaum> Alternatively build a package for your operating system (deb, rpm, etc.) as that's the right place to put operating system specific installation commands.
[20:06:08] <FichteFoll> thanks for taking a look. I agree with this