<reponame>bboe/hackday_bot<filename>setup.py
"""hackday_bot setup.py."""

import re
from codecs import open
from os import path
from setuptools import setup


PACKAGE_NAME = 'hackday_bot'
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as fp:
    README = fp.read()
with open(path.join(HERE, PACKAGE_NAME, 'const.py'),
          encoding='utf-8') as fp:
    VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)


setup(name=PACKAGE_NAME,
      author='<NAME>',
      author_email='<EMAIL>',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: Implementation :: CPython'],
      description=('A Reddit bot that helps facilitate the creation and '
                   'selection of ideas for a hack day.'),
      entry_points={'console_scripts': ['hackday_bot = hackday_bot.cli:main']},
      install_requires=['docopt >=0.6.2, <1', 'praw >=5.0.0'],
      keywords='reddit bot hackday',
      license='Simplified BSD License',
      long_description=README,
      packages=[PACKAGE_NAME],
      url='https://github.com/bboe/hackday_bot',
      version=VERSION)

"""hackday_bot setup.py."""

import re
from codecs import open
from os import path
from setuptools import setup


PACKAGE_NAME = 'hackday_bot'
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as fp:
    README = fp.read()
with open(path.join(HERE, PACKAGE_NAME, 'const.py'),
          encoding='utf-8') as fp:
    VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)


setup(name=PACKAGE_NAME,
      author='<NAME>',
      author_email='<EMAIL>',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: Implementation :: CPython'],
      description=('A Reddit bot that helps facilitate the creation and '
                   'selection of ideas for a hack day.'),
      entry_points={'console_scripts': ['hackday_bot = hackday_bot.cli:main']},
      install_requires=['docopt >=0.6.2, <1', 'praw >=5.0.0'],
      keywords='reddit bot hackday',
      license='Simplified BSD License',
      long_description=README,
      packages=[PACKAGE_NAME],
      url='https://github.com/bboe/hackday_bot',
      version=VERSION)
hackday_bot setup.py.