forked from maxjo020418/BAScraper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (40 loc) · 1.55 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (40 loc) · 1.55 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
39
40
41
42
"""
1. run `python3 -m build` to build
2. `twine check dist/*` to verify
3. `twine upload dist/*` to upload
check https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary for details
"""
from setuptools import setup, find_packages
VERSION = '0.2.0'
DESCRIPTION = 'API wrapper for PullPush.io - the 3rd party replacement API for Reddit.'
LONG_DESCRIPTION = '''currently it can:
- get submissions/comments from a certain subreddit in supported order/sorting methods specified in the PullPush.io API docs
- get comments under the retrieved submissions
- can get all the submissions based on the number of submissions or in a certain timeframe you specify
- can recover(if possible) deleted/removed submission/comments from the returned result
check the [documentation on the github](https://github.com/maxjo020418/BAScraper) for detailed info
'''
setup(
name="BAScraper",
version=VERSION,
author="maxjo",
author_email="jo@yeongmin.net",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=LONG_DESCRIPTION,
packages=find_packages(),
install_requires=['aiohttp', 'requests'],
extras_require={
'multithreading_requests': ['requests']
},
keywords=['reddit', 'scraper', 'PullPush', 'wrapper'],
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.11",
project_urls={
'Github': 'https://github.com/maxjo020418/BAScraper'
}
)