Hi there, There has been many discussions on IRC channel lately and some commits about the setup.py in order to fix some bugs regarding pip and also complains about its inner complexity.
As a base statement to the following proposals, I think both distutils and setuptools are clearly NOT designed to install complex distributed daemons like Shinken. This has never been part of the goals of these tools. Trying to deeply hacking them for such purpose is totally error prone. Here are 2 things I think Shinken setup.py SHOULDN'T do: - Installing default init scripts: init scripts (and also systemd unit files) must be considered as distributions and OS specifics. Paths, shell functions, daemons launchers are not common on all distributions. Requirements and constraints also change from one release of a distribution to another. Writing working init scripts is hard, this responsability should be let to packagers. - Managing files owners: users and groups management should be done under the control of the package management system. Advanced package management systems are able to track groups/owners of installed files unless chown is done by scripts. I think that supporting 'pip install' or 'setup.py install' methods for production use of Shinken is a bad idea. Some /magical stuff/ should be removed from current setup.py so that RPM/DEB/whatever packaging effort could be done easier with these limitations in mind. This is only my own personal point of view. I'm looking forward to reading your feedback about these thoughts! -- Rémi Palancher ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel