chestm007 / linux_thermaltake_riing

Python driver and daemon to control thermaltake Riing fans and pumps
GNU General Public License v2.0
59 stars 25 forks source link

Packaging for debian/ubuntu #25

Open s7relok opened 5 years ago

s7relok commented 5 years ago

Hello,

I try to package your software for debian/ubuntu Can you provide me a "folder map" where the files goes in a normal installation? So I can remove the setup.py and such and only package the source.

Thanks in advance.

chestm007 commented 5 years ago

This could be horribly misleading as i run arch, and there could be some variance with ubuntu/debian.

Everything under linux_thermaltake_rgb (except the assets folder) goes in /usr/lib/python3.7/site-packages/linux_thermaltake_rgb/

linux_thermaltake_rgb/assets/config.yml goes in /etc/linux_thermaltake_rgb/config.yml

linux_thermaltake_rgb/assets/linux-thermaltake-rgb.service goes in /usr/lib/systemd/system/linux-thermaltake-rgb.service

I'm not sure about deb/ubuntu policy, but i have an AUR build that pretty much shows this in the arch user repo's, i basically install with pip, then move some files around

snuffysasa commented 4 years ago

I believe for Ubuntu you want to move linux-thermaltake-rgb.service to /etc/systemd/system