-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
48 lines (41 loc) · 1.62 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def get_reqs() -> list:
file = open("requirements.txt", "r")
requirements = []
for line in file:
stripped_req = line.strip()
requirements.append(stripped_req)
return requirements
setuptools.setup(
name="redditeasy",
version="4.0.0",
author="MakufonSkifto",
description="RedditEasy is an API wrapper for getting posts using the Reddit JSON API with both sync and"
" async options",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://redditeasy.readthedocs.io/en/latest/",
project_urls={
"Documentation": "https://redditeasy.readthedocs.io/en/latest/",
"Issue tracker": "https://github.com/MakufonSkifto/RedditEasy/issues",
"Source": "https://github.com/MakufonSkifto/RedditEasy"
},
packages=setuptools.find_packages(),
install_requires=get_reqs(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux"
],
keywords="reddit api async meme redditapi redditbot asyncreddit redditposts praw discord.py bot",
python_requires='>=3.6',
)