@@ -18,7 +18,7 @@ A CLI for converting graded [Moodle quizzes](https://docs.moodle.org/404/en/Quiz
18
18
19
19
## 📥 Installation
20
20
21
- ### ✨ Easy
21
+ ### 🌍 Global
22
22
23
23
1 . [ Install ` pipx ` ] ( https://pipx.pypa.io/stable/#install-pipx )
24
24
1 . _ If using Linux: [ follow these steps] ( https://github.com/asweigart/pyperclip/blob/master/docs/index.rst#not-implemented-error ) ._
@@ -27,9 +27,11 @@ A CLI for converting graded [Moodle quizzes](https://docs.moodle.org/404/en/Quiz
27
27
``` bash
28
28
pipx install moodle-to-vikwikiquiz
29
29
```
30
+
31
+ # ## 🏠 Local
30
32
31
33
32
- # ## 🛠️ Executable `zipapp`
34
+ # ### 🛠️ Executable `zipapp`
33
35
34
36
1. Download the ` .pyz` file of the latest release from [here](https://github.com/gy-mate/moodle-to-vikwikiquiz/releases/latest).
35
37
1. Run the following commands in the terminal:
@@ -109,10 +111,22 @@ Run the following command in the terminal:
109
111
vermin --backport argparse --backport enum --backport typing_extensions --eval-annotations .
110
112
```
111
113
112
- If it has changed, update [`pyproject.toml`](pyproject.toml) accordingly.
114
+ If it has changed, please update [`pyproject.toml`](pyproject.toml) accordingly.
113
115
114
116
### 🏗️ Building
115
117
118
+
119
+ - Repruducible `zipapp` (`.pyz`):
120
+ 1. [Install `pipx`](https://pipx.pypa.io/stable/#install-pipx)
121
+ 1. Install [`shiv`](https://github.com/linkedin/shiv):
122
+ ```bash
123
+ pipx install shiv
124
+ ```
125
+ 1. Create the executable:
126
+ ```bash
127
+ shiv --entry-point moodle_to_vikwikiquiz.main:main --output-file moodle-to-vikwikiquiz.pyz --reproducible .
128
+ ```
129
+ 1. _Optional: compare its hash with the one of the [latest release](https://github.com/gy-mate/moodle-to-vikwikiquiz/releases/)._
116
130
- Wheels (`.whl`):
117
131
1. Install `build`:
118
132
```bash
@@ -124,17 +138,6 @@ If it has changed, update [`pyproject.toml`](pyproject.toml) accordingly.
124
138
python3 -m build
125
139
```
126
140
127
- - `zipapp` (`.pyz`):
128
- 1. [Install `pipx`](https://pipx.pypa.io/stable/#install-pipx)
129
- 1. Install `shiv`:
130
- ```bash
131
- pipx install shiv
132
- ```
133
- 1. Create the executable:
134
- ```bash
135
- shiv --entry-point moodle_to_vikwikiquiz.main:main --output-file moodle-to-vikwikiquiz.pyz --reproducible .
136
- ```
137
-
138
141
139
142
## 📜 License
140
143
0 commit comments