-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (42 loc) · 1.3 KB
/
setup.py
File metadata and controls
45 lines (42 loc) · 1.3 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
43
44
45
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = [
line.strip() for line in fh if line.strip() and not line.startswith("#")
]
setup(
name="reddit-scraper",
version="0.1.1",
author="Arjhun S (kernelism)",
author_email="contactarjhun@gmail.com",
description="A CLI tool to scrape Reddit",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/kernelism/reddit-scraper",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
install_requires=requirements,
entry_points={
"console_scripts": [
"reddit-scraper=reddit_scraper.__main__:main",
],
},
extras_require={
"dev": [
"pytest>=7.3.1",
"pytest-cov>=4.1.0",
"pytest-xdist>=3.3.1",
"black>=23.3.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"flake8-docstrings>=1.7.0",
"pre-commit>=3.3.3",
],
},
)