-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 1008 Bytes
/
pyproject.toml
File metadata and controls
46 lines (40 loc) · 1008 Bytes
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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "redditcleaner"
version = "1.8.0"
requires-python = ">=3.9"
dependencies = [
"praw>=7.6,<8",
]
[project.optional-dependencies]
drive = [
"google-api-python-client>=2.0,<3",
"google-auth>=2.0,<3",
"google-auth-httplib2>=0.1,<1",
]
web = [
"flask>=2.3,<4",
"flask-wtf>=1.1,<2",
"google-api-python-client>=2.0,<3",
"google-auth>=2.0,<3",
"google-auth-httplib2>=0.1,<1",
]
dev = [
"pytest>=7.0,<9",
"pytest-mock>=3.0,<4",
"flask>=2.3,<4",
"flask-wtf>=1.1,<2",
"ruff",
]
[project.scripts]
reddit-clean-comments = "redditcleaner.cli.comment_cleaner:main"
reddit-clean-posts = "redditcleaner.cli.post_cleaner:main"
reddit-weekly-cleanup = "redditcleaner.ci.weekly_cleanup:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"redditcleaner.web" = ["templates/*.html"]
[tool.pytest.ini_options]
testpaths = ["tests"]