File tree Expand file tree Collapse file tree 3 files changed +9
-24
lines changed Expand file tree Collapse file tree 3 files changed +9
-24
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,6 @@ This will use the latest commit on `master`.
2626pip 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-
3629Windows notifications are untested. Feel free to open issues.
3730
3831MacOS users must install ` terminal-notifier ` for desktop notifications.
@@ -46,6 +39,7 @@ It should be already available without further actions.
4639
4740To launch the script, make sure you provide Moodle credentials.
4841Here 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.
7670git clone https://github.com/Safenein/moodle-painkillers.git
7771cd 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 .
8074uv run pytest
8175uv build
8276```
Original file line number Diff line number Diff line change 11[project ]
22name = " moodle-painkillers"
3- version = " 1.0.5 "
3+ version = " 1.0.6 "
44description = " Signs you up on Moodle so you get paid."
55readme = " README.md"
66requires-python = " >=3.12"
77license = " GPL-3.0-or-later"
88dependencies = [
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 ]
1416moodle-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 ]
2319requires = [" hatchling" ]
2420build-backend = " hatchling.build"
You can’t perform that action at this time.
0 commit comments