You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For MicroPython versions below 1.19.1 use the `upip` package instead of `mip`
127
+
100
128
```python
101
129
import upip
102
130
# overwrite index_urls to only take artifacts from test.pypi.org
@@ -215,11 +243,33 @@ coverage html
215
243
216
244
The coverage report is placed at `reports/coverage/html/index.html`
217
245
246
+
## Steps after using this template
247
+
248
+
In order to use this template for a new MicroPython package to following steps
249
+
should be done and changes to these file being made
250
+
251
+
| File | Changes | More details |
252
+
| ---- | ------- | -------------|
253
+
|`.coveragerc`| Path to `version.py` file | Omit version file from coverage |
254
+
|`.coveragerc`| Path to `include` folder | Include the package folder for coverage |
255
+
|`.github/workflows/release.yml`| Path to `version.py` file | Use package version file to set changelog based version |
256
+
|`.github/workflows/test-release.yml`| Path to `version.py` file | Use package version file to set changelog based version |
257
+
|`.github/workflows/test.yml`| Path to `version.py` file | Use package version file to set changelog based version |
258
+
|`README.md`| Links in header section and installation instructions ||
259
+
|`changelog.md`| Cleanup changelog from informations of template | Keep usage of SemVer |
260
+
|`docs/DOCUMENTATION.md`| Kink to ReadTheDocs ||
261
+
|`docs/conf.py`| List to modules to be mocked, package import, path to `version.py` file, update `author`, `project` and `linkcheck_ignore`||
262
+
|`docs/index.rst`| Header name and included modules | Replace `be_upy_blink` with new `.rst` file of new package |
263
+
|`docs/NEW_MODULE_NAME.rst`| Create a new `.rst` file named as the package | Use `docs/be_upy_blink.rst` as template |
264
+
|`package.json`| Files and paths to new package and repo | Used by `mip`|
265
+
|`setup.py`| Path to `version.py` file, `name`, `description`, `url`, `author`, `author_email`, `keywords`, `project_urls`, `packages`, `install_requires`| Used to create the package and its informations published at e.g. PyPI |
266
+
218
267
## Credits
219
268
220
269
Based on the [PyPa sample project][ref-pypa-sample].
0 commit comments