forked from wey-gu/chatroom-syncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (67 loc) · 1.86 KB
/
pyproject.toml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[tool.pdm]
[project]
name = "chatroom-syncer"
version = "0.1.9"
description = "Sync your IM group chat to Slack."
authors = [
{name = "Wey Gu", email = "[email protected]"},
]
dependencies = [
"quart==0.18.0",
"wechaty==0.8.66",
"slack-sdk==3.19.5",
"pyyaml==6.0",
"aiohttp>=3.8.3",
"wechaty-plugin-contrib>=0.0.19",
"python-dotenv>=0.21.0",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "apache-2.0"}
[project.urls]
Homepage = "https://github.com/wey-gu/chatroom-syncer"
Repository = "https://github.com/wey-gu/chatroom-syncer"
# Documentation = "https://github.com/wey-gu/chatroom-syncer"
# Changelog = "https://github.com/wey-gu/chatroom-syncer"
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pyprojectx]
pdm = "pdm==2.3.3"
# commonly used tools
#black = "black"
#isort = "isort"
#pylint = "pylint"
#pre-commit = "pre-commit"
#jupyter = ["jupyter", "."]
[tool.pyprojectx.aliases]
install = "pdm install"
run = "pdm run"
outdated = "pdm update --outdated"
test = "pdm run pytest"
# example aliases
#clean = "rm -rf .venv .pytest_cache dist"
#clean-all = "pw@ clean && rm -rf .pyprojectx"
#black = "black src tests"
#isort = "isort src tests"
#check-pylint = "pylint src tests"
#check-black = "black src tests --check"
#check = "pw@ check-black && pw@ check-pylint && pw@ test"
#build = "pw@ install && pw@ check && pw@ pdm build"
#notebook = "jupyter notebook -y"
[tool.pyprojectx.os.win.aliases]
# example os specific aliases
#clean = "rmdir /s/q .venv .pytest_cache dist"
#clean-all = "pw@ clean & rmdir /s/q .pyprojectx"
[tool.pdm.scripts.start]
cmd = "python -m chatroom_syncer"
env_file = ".env"
[tool.pdm.build]
excludes = ["./**/.git"]
package-dir = "src"
includes = ["src/chatroom_syncer"]
source-includes = ["LICENSE", "README.md"]
[tool.isort]
profile = "black"
[tool.black]
line-length = 79