https://github.com/praw-dev/praw
Raw File
Tip revision: d4044a6475f6434df197174c64d3be460779bc59 authored by Bryce Boe on 04 July 2016, 16:20:16 UTC
Bump to 4.0.0b7.
Tip revision: d4044a6
setup.py
"""praw setup.py"""

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


PACKAGE_NAME = 'praw'
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='Timothy Mellor',
      author_email='timothy.mellor+pip@gmail.com',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: GNU General Public License (GPL)',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          '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',
          'Topic :: Utilities'],
      description=('PRAW, an acronym for `Python Reddit API Wrapper`, is a '
                   'python package that allows for simple access to '
                   'reddit\'s API.'),
      install_requires=['decorator >=4.0.9, <4.1',
                        'prawcore ==0.0.8',
                        'requests >=2.3.0',
                        'six ==1.10',
                        'update_checker ==0.11'],
      keywords='reddit api wrapper',
      license='GPLv3',
      long_description=README,
      maintainer='Bryce Boe',
      maintainer_email='bbzbryce@gmail.com',
      package_data={'': ['COPYING'], PACKAGE_NAME: ['*.ini']},
      packages=find_packages(exclude=['tests', 'tests.*']),
      setup_requires=['pytest-runner ==2.7'],
      tests_require=['betamax >=0.5.1, <0.6',
                     'betamax-matchers >=0.2.0, <0.3',
                     'betamax-serializers >=0.1.1, <0.2',
                     'mock ==1.0.1',
                     'pytest ==2.8.7'],
      test_suite='tests',
      url='https://praw.readthedocs.org/',
      version=VERSION)
back to top