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:
parent
417d127c98
commit
0b379058e1
4
setup.py
4
setup.py
|
@ -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"],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue