Skip to content

Commit 1d30278

Browse files
committed
fix(dependencies): deleting group dependency
1 parent 5e1e963 commit 1d30278

File tree

3 files changed

+9
-24
lines changed

3 files changed

+9
-24
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ This will use the latest commit on `master`.
2626
pip install 'git+https://github.com/Safenein/moodle-painkillers.git'
2727
```
2828

29-
You can also install desktop dependencies, it will enable notifications on your desktop.
30-
Not needed on Linux.
31-
32-
```
33-
pip install 'moodle-painkillers[desktop] @ git+https://github.com/Safenein/moodle-painkillers.git'
34-
```
35-
3629
Windows notifications are untested. Feel free to open issues.
3730

3831
MacOS users must install `terminal-notifier` for desktop notifications.
@@ -46,6 +39,7 @@ It should be already available without further actions.
4639

4740
To launch the script, make sure you provide Moodle credentials.
4841
Here is an example of a script that would launch moodle-painkillers successfully.
42+
Secret management using pass, "the standard unix password manager".
4943

5044
```bash
5145
#!/usr/bin/env bash
@@ -76,7 +70,7 @@ Here is a crontab example. Read disclaimer.
7670
git clone https://github.com/Safenein/moodle-painkillers.git
7771
cd moodle-painkillers
7872

79-
uv sync # add "--extra desktop" to enable notification support on macOS and Windows.
73+
uv sync # --no-dev pour ne pas installer les dépendances de developpement.
8074
uv run pytest
8175
uv build
8276
```

pyproject.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
[project]
22
name = "moodle-painkillers"
3-
version = "1.0.5"
3+
version = "1.0.6"
44
description = "Signs you up on Moodle so you get paid."
55
readme = "README.md"
66
requires-python = ">=3.12"
77
license = "GPL-3.0-or-later"
88
dependencies = [
99
"beautifulsoup4>=4.13.3",
1010
"requests>=2.32.3",
11+
"win10toast>=0.9; sys_platform == 'win32'",
12+
"pync>=2.0.3; sys_platform == 'darwin'",
1113
]
1214

1315
[project.scripts]
1416
moodle-painkillers = "moodle_painkillers:main"
1517

16-
[project.optional-dependencies]
17-
desktop = [
18-
"win10toast>=0.9; sys_platform == 'win32'",
19-
"pync>=2.0.3; sys_platform == 'darwin'"
20-
]
21-
2218
[build-system]
2319
requires = ["hatchling"]
2420
build-backend = "hatchling.build"

uv.lock

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)