This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
setup.py
46 lines (42 loc) · 1.61 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
from setuptools import setup
from os import path
import re
PACKAGE_NAME='psaw'
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, '__init__.py'),
encoding='utf-8') as fp:
VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)
setup(name=PACKAGE_NAME,
packages=[PACKAGE_NAME],
version=VERSION,
long_description=README,
description='Pushshift.io API Wrapper for reddit.com public comment/submission search',
author='David Marx',
author_email='[email protected]',
url='http://github.com/dmarx/psaw',
license='Simplified BSD License',
install_requires=['requests', 'Click'],
entry_points="""
[console_scripts]
psaw=psaw.psaw:cli
""",
keywords='reddit api wrapper pushshift',
python_requires='>=3',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Utilities']
)