Hello, I want to suggest that you look into pipx before spending more time to create and maintain Shell code installer scripts to set up virtual environments and integration into the target platform.
With regards to Systemd I would prefer a User Service instead of putting the service unit in /etc (it should be /usr/local if you want it system wide, I recently stumbled upon work of a former colleague at work and wondered why a certain unit could not be masked, it was because of using /etc). Someone also wrote a tutorial to better integrate Python project with Systemd: https://github.com/torfsen/python-systemd-tutorial My guess is that something similar should exist for Windows and Mac.
Using older versions of Python with pipx should be less of a hassle from my point of view. I just tried pipx today with Puddletag, which worked quite well even though they say it is intended for CLI apps.
Hello, I want to suggest that you look into pipx before spending more time to create and maintain Shell code installer scripts to set up virtual environments and integration into the target platform.
With regards to Systemd I would prefer a User Service instead of putting the service unit in
/etc
(it should be/usr/local
if you want it system wide, I recently stumbled upon work of a former colleague at work and wondered why a certain unit could not be masked, it was because of using /etc). Someone also wrote a tutorial to better integrate Python project with Systemd: https://github.com/torfsen/python-systemd-tutorial My guess is that something similar should exist for Windows and Mac.Using older versions of Python with pipx should be less of a hassle from my point of view. I just tried pipx today with Puddletag, which worked quite well even though they say it is intended for CLI apps.