-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
79 lines (70 loc) · 2.05 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
[project]
name = "mmpm"
version = "4.1.4"
description = "MMPM, the MagicMirror Package Manager CLI simplifies the installation, removal, and general maintenance of MagicMirror packages"
authors = [
{ name = "Brandon Marlowe", email = "[email protected]" },
]
dependencies = [
"Flask-Cors>=3.0.8",
"argcomplete>=2.0.0",
"argparse>=1.4",
"beautifulsoup4>=4.11.1",
"colorama>=0.4.3",
"flask-socketio>=5.3.2",
"flask>=2.2.0",
"gevent>=23.9.1",
"gunicorn>=20.1.0",
"jinja2>=3.1.0",
"pygments>=2.12.0",
"python-socketio[client]>=5.7.0",
"requests>=2.28.0",
"yaspin>=2.3.0",
"gitpython>=3.1.40",
"gevent-websocket>=0.10.1",
"prompt-toolkit>=3.0.43",
"importlib_resources; python_version<'3.9'",
]
requires-python = ">=3.8"
readme = "README.md"
license = { text = "MIT" }
keywords = [
"MagicMirror magicmirror package-manager mmpm MMPM magicmirror-package-manager package manager magicmirror_package_manager",
]
[project.urls]
Homepage = "https://github.com/Bee-Mar/mmpm"
Downloads = "https://github.com/Bee-Mar/mmpm/archive/4.1.3.tar.gz"
[project.scripts]
mmpm = "mmpm.entrypoint:main"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.dev-dependencies]
dev = [
"mypy>=1.7.0",
"pylint>=3.0.2",
"codecov>=2.1.13",
"types-requests>=2.31.0.10",
"pytest>=7.4.3",
"faker>=20.1.0",
"coverage>=7.3.2",
"pdm>=2.11.1",
"black>=23.12.0",
]
# pdm is required to make use of these (pip install pdm)
[tool.pdm.scripts]
test = "coverage run -m pytest test"
report = "coverage report"
lint = "pylint mmpm"
mypy = "mypy mmpm"
build-ui = "bash -c 'cd ui && bun run build'"
format = "bash -c 'isort mmpm && black mmpm --line-length=150 && isort test && black test --line-length=150'"
# quickstarts for dev testing
up = "pm2 start dev/ecosystem.json"
start = "pm2 start dev/ecosystem.json"
stop = "pm2 stop dev/ecosystem.json"
down = "pm2 stop dev/ecosystem.json"
rm = "pm2 delete dev/ecosystem.json"
remove = "pm2 delete dev/ecosystem.json"
delete = "pm2 delete dev/ecosystem.json"
logs = "pm2 logs mmpm"