Hello All, On Mon, Apr 13, 2015 at 12:27:17PM -0400, Sebastien Coavoux wrote: > >> >> - Also, I think we don't use setuptools as we should. If you look at > >> >> what ansible/salt do, they don't ship any files outside /usr/local/ > >> >> folder > >> >> (using ie: sudo pip install salt). I didn't find any python software > >> >> which > >> >> copy configuration files in /etc/ or makes some chown during the > >> >> installation (pip install ...). > > > > That are exactely the issues I saw also while trying to debianize > > shinken > > in the past. With a well written setup.py you can: > > - install in your home directory > > - run "python setup.py --command-packages=stdeb.command debianize" to > > build a .deb at any time. > > > That was the whole purpose of the setup rework : to have a "well > written" file :)
The high art of packaging is to allow packaging as non root: > dpkg-buildpackage -b -rfakeroot produces a nice python-shinken_2.4-rc2-1_all.deb on jessie, which I have to test now. Big thanks for that progress, guys! > > Not familiar to this, but read about a month ago (from a french guy > > btw): > > Did the wheel format bring any improvement in this area ? > > > As far as I known wheel is for caching purpose. Sorry, don't intended to make advertisement for Julien Danjou: The Hacker's guide to Python, where chapter4 is about python packaging and distribution and that PEP 427 was written to define a new python packaging standard: wheel. > I really think there is communication problem there. Issues are not > clearly stated and there is no real direction to fix them. I mean, there > was no clear communication saying : "Ok we are reverting on this day if > no fix is found and release on this (other) day. We want the setup.py to > be consistent balbla". Is this being too "pro" to do so? > People that don't check what's going on Github won't know that we > reverted that today, too bad for them. > > > I'm raising all this here because it's devel list, maybe we should > create users list because people may not be interested in this debate. As an old fashioned guy with unfortunately little time (new building has to be finished this year) I like the dev list to hear about your progress, and also +1 for a users list. Thanks, greetings Hermann -- Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224 Email: hermann.la...@iwr.uni-heidelberg.de ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel