#!/usr/bin/env python
# -*- coding: utf-8 -*-

import humbug

import glob
from distutils.core import setup

setup(name='humbug',
      version=humbug.__version__,
      description='Bindings for the Humbug message API',
      author='Humbug, Inc.',
      author_email='humbug@humbughq.com',
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Topic :: Communications :: Chat',
      ],
      url='https://humbughq.com/dist/api/',
      packages=['humbug'],
      data_files=[('share/humbug/examples', ["examples/humbugrc", "examples/send-message"]),
                  ('share/humbug/integrations/trac', glob.glob('integrations/trac/*')),
                  ('share/humbug/integrations/nagios', glob.glob('integrations/nagios/*')),
                  ],
      scripts=["bin/humbug-send"],
     )

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import humbug

import glob
import os.path
from distutils.core import setup

setup(name='humbug',
      version=humbug.__version__,
      description='Bindings for the Humbug message API',
      author='Humbug, Inc.',
      author_email='humbug@humbughq.com',
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Topic :: Communications :: Chat',
      ],
      url='https://humbughq.com/dist/api/',
      packages=['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/*")
           ],
      scripts=["bin/humbug-send"],
     )

Fix need to manually update list of integrations.