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 2b12dbae9c
commit 4ed2ffb4ce
1 changed files with 2 additions and 2 deletions

View File

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