forked from praw-dev/praw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (48 loc) · 2.06 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import os
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
PACKAGE_NAME = 'praw'
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, 'README.rst')) as fp:
README = fp.read()
with open(os.path.join(HERE, PACKAGE_NAME, '__init__.py')) as fp:
VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)
setup(
name=PACKAGE_NAME,
version=VERSION,
author='Timothy Mellor',
author_email='[email protected]',
maintainer='Bryce Boe',
maintainer_email='[email protected]',
url='https://praw.readthedocs.org/',
description=('PRAW, an acronym for `Python Reddit API Wrapper`, is a '
'python package that allows for simple access to '
'reddit\'s API.'),
long_description=README,
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 :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Utilities'],
license='GPLv3',
keywords='reddit api wrapper',
packages=[PACKAGE_NAME],
package_data={'': ['COPYING'], PACKAGE_NAME: ['*.ini']},
install_requires=['decorator>=3.4.2', 'requests>=2.3.0', 'six>=1.4',
'update_checker>=0.11'],
tests_require=['betamax>=0.4.2', 'betamax-matchers>=0.2.0', 'mock>=1.0.0'],
entry_points={'console_scripts': [
'praw-multiprocess = praw.multiprocess:run']},
test_suite='tests')