api: Fix need to manually update list of integrations.
(imported from commit 6842230f939483d32acb023ad38c53cb627df149)
This commit is contained in:
parent
a53674ad46
commit
0d53053669
10
setup.py
10
setup.py
|
@ -4,6 +4,7 @@
|
||||||
import humbug
|
import humbug
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
|
import os.path
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
setup(name='humbug',
|
setup(name='humbug',
|
||||||
|
@ -20,9 +21,10 @@ setup(name='humbug',
|
||||||
],
|
],
|
||||||
url='https://humbughq.com/dist/api/',
|
url='https://humbughq.com/dist/api/',
|
||||||
packages=['humbug'],
|
packages=['humbug'],
|
||||||
data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"]),
|
data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"])] + \
|
||||||
('share/humbug/integrations/trac', glob.glob('integrations/trac/*')),
|
[(os.path.join('share/humbug/', relpath),
|
||||||
('share/humbug/integrations/nagios', glob.glob('integrations/nagios/*')),
|
glob.glob(os.path.join(relpath, '*'))) for relpath in
|
||||||
],
|
glob.glob("integrations/*")
|
||||||
|
],
|
||||||
scripts=["bin/humbug-send"],
|
scripts=["bin/humbug-send"],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue