Install the demos directory in /usr/local/share/ as well.

(imported from commit 7516e5318f9e30544f53703ead4bca60f2dd7828)
This commit is contained in:
Jessica McKellar 2013-02-22 11:42:53 -05:00
parent ec86a6a749
commit c34842397a

View file

@ -4,7 +4,7 @@
import humbug
import glob
import os.path
import os
from distutils.core import setup
setup(name='humbug',
@ -24,7 +24,9 @@ setup(name='humbug',
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/*")
],
glob.glob("integrations/*")] + \
[('share/humbug/demos',
[os.path.join("demos", relpath) for relpath in
os.listdir("demos")])],
scripts=["bin/humbug-send"],
)