api: Fix installation of example and integrations.

Previously we were installing data files to e.g. /usr/local/example
and /usr/local/integrations, which is really not OK.

(imported from commit 0efb50412f93efabfe55443d5cac57a8ebb9fe06)
This commit is contained in:
Tim Abbott 2013-02-14 14:09:59 -05:00
parent 417d127c98
commit 0b379058e1

View file

@ -20,8 +20,8 @@ setup(name='humbug',
], ],
url='https://humbughq.com/dist/api/', url='https://humbughq.com/dist/api/',
packages=['humbug'], packages=['humbug'],
data_files=[('examples', ["examples/humbugrc", "examples/send-message"]), data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"]),
('integrations', glob.glob('integrations/*')), ('share/humbug/integrations', glob.glob('integrations/*')),
], ],
scripts=["bin/humbug-send"], scripts=["bin/humbug-send"],
) )