Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (24 sloc) 1.76 kB
=== THANKS :) ====
Hi,
First of all : THANKS for trying to make a package of Shinken :)
I try to make the setup.py useful to you. It will install the shinken
library to the classic python way (in site-package).
=== Requirements ===
You will need Python >=2.4 (for 2.4 and 2.5 you will need the multiprocessing package from http://pypi.python.org/pypi/multiprocessing/ too)
You will need the pyro lib too. It must already have a package. If not, take if from pypi (easy_install)
=== Create the Package ===
You can change the place you want to put etc and var in the file setup_parameters.cfg. You can also change
the owner of theses dir (and ALL files in them) in this file.
But WARNING (bis) : if you set a --root (example =/tmp/something) it will not update the owner of the /etc and /var directory (calling with a --root is for having all files to create a package, so you don't need changing owners).
Example when you call :
python setup.py install --root=/tmp/moncul --record=INSTALLED_FILES --install-scripts=/usr/bin
(no trailing / for install_scripts)
You get all files to package in the file INSTALLED_FILES (and only the /tmp/moncul is changed, so it's ok for your system ;)).
The setup.py will also generate the bin/default/shinken file that will be install in /etc/default/shinken. In it, you get
all variables used by the init.d scripts. It will generate the etc and var directory with the values you give in the setup cfg file.
With the python lib + etc + var it should be ok :)
I don't know what more you need exactly, so please ask in the mailing list at
https://lists.sourceforge.net/lists/listinfo/shinken-devel
or directly via my email : naparuba@gmail.com
And again : thanks a lot, a tool without package is nothing :)
Jean
Jump to Line
Something went wrong with that request. Please try again.