From c34842397add261f1d9b9704138c632d6ac962ca Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Fri, 22 Feb 2013 11:42:53 -0500 Subject: [PATCH] Install the demos directory in /usr/local/share/ as well. (imported from commit 7516e5318f9e30544f53703ead4bca60f2dd7828) --- setup.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 73b7041..db6f5bb 100644 --- a/setup.py +++ b/setup.py @@ -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"], )