api: Fix need to manually update list of integrations.

(imported from commit 6842230f939483d32acb023ad38c53cb627df149)
This commit is contained in:
Tim Abbott 2013-02-19 10:17:06 -05:00
parent 8c2c65f718
commit 346d16c034
1 changed files with 6 additions and 4 deletions

View File

@ -4,6 +4,7 @@
import humbug
import glob
import os.path
from distutils.core import setup
setup(name='humbug',
@ -20,9 +21,10 @@ setup(name='humbug',
],
url='https://humbughq.com/dist/api/',
packages=['humbug'],
data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"]),
('share/humbug/integrations/trac', glob.glob('integrations/trac/*')),
('share/humbug/integrations/nagios', glob.glob('integrations/nagios/*')),
],
data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"])] + \
[(os.path.join('share/humbug/', relpath),
glob.glob(os.path.join(relpath, '*'))) for relpath in
glob.glob("integrations/*")
],
scripts=["bin/humbug-send"],
)