from distutils.core import setup

def is_pkg(line):
    return line and not line.startswith(('--', 'git', '#'))

with open('requirements.txt', encoding='utf-8') as reqs:
    install_requires = [l for l in reqs.read().split('\n') if is_pkg(l)]

setup(
  name = 'messenger_hook',
  packages = ['messenger_hook'],
  version = '0.2.1',
  description = 'A library to create hooks for facebook messenger',
  author = 'Vincent Lara',
  author_email = 'lara.vincent@gmail.com',
  url = 'https://github.com/l-vincent-l/messenger_hook',
  download_url = 'https://github.com/l-vincent-l/messenger_hook/archive/v0.2-beta.tar.gz',
  keywords = ['facebook', 'messenger'],
  classifiers = [
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.4',
  ],
  extras_require = {
      'falcon': ['falcon']
  },
  install_requires=install_requires
)
