Ship all of our examples in the API update tarball.

(imported from commit 4162114707f69bcfb6ecea95d7bdf4c080b4b168)
This commit is contained in:
Waseem Daher 2013-03-15 00:22:49 -04:00
parent b6aaed004d
commit 03000a7cf2

View file

@ -21,12 +21,12 @@ setup(name='humbug',
], ],
url='https://humbughq.com/dist/api/', url='https://humbughq.com/dist/api/',
packages=['humbug'], packages=['humbug'],
data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"])] + \ data_files=[('share/humbug/examples', glob.glob('examples/*'))] + \
[(os.path.join('share/humbug/', relpath), [(os.path.join('share/humbug/', relpath),
glob.glob(os.path.join(relpath, '*'))) for relpath in glob.glob(os.path.join(relpath, '*'))) for relpath in
glob.glob("integrations/*")] + \ glob.glob("integrations/*")] + \
[('share/humbug/demos', [('share/humbug/demos',
[os.path.join("demos", relpath) for relpath in [os.path.join("demos", relpath) for relpath in
os.listdir("demos")])], os.listdir("demos")])],
scripts=["bin/humbug-send"], scripts=glob.glob("bin/*"),
) )