forked from danthedaniel/psraw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (35 loc) · 1.07 KB
/
setup.py
File metadata and controls
38 lines (35 loc) · 1.07 KB
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
from os import path
from re import search
from setuptools import setup
PACKAGE_NAME = 'psraw'
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, PACKAGE_NAME, 'version.py'), 'r') as fp:
VERSION = search('__version__ = \'([^\']+)\'', fp.read()).group(1)
setup(
name=PACKAGE_NAME,
version=VERSION,
description='pushshift reddit API wrapper',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Utilities',
],
url='http://github.com/teaearlgraycold/psraw',
author='teaearlgraycold',
license='GPLv3',
packages=[PACKAGE_NAME],
install_requires=[
'praw >=4.0, <6.0',
],
tests_require=[
'nose',
'vcrpy'
],
test_suite='nose.collector',
zip_safe=False
)