Post-Install for Setuptools
Opened this issue · 2 comments
henryruhs commented
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
chestm007 commented
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.
henryruhs commented
there are multiple steps to workaround this:
automated:
- post-install and don't care about updates
- 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:
- introduce something like
linux_thermaltake_rgb init