chestm007/linux_thermaltake_riing

Post-Install for Setuptools

Opened this issue · 2 comments

Hello, I wonder if there is an simple way to automate the manual setup and found this:

https://stackoverflow.com/questions/20288711/post-install-script-with-python-setuptools

Let me know if you need an helpful hand

I did meddle with automating some of the install process using post_install, but the problem ended up being any config changes that were non default ended up getting blown away with every update - seemed far simpler to leave automation to distro packagers.

there are multiple steps to workaround this:

automated:

  1. post-install and don't care about updates
  2. test if config file is present and prompt to overwrite it or not¹

¹ not needed in the first version from my point of view

semi-automated:

  1. introduce something like linux_thermaltake_rgb init