openzim / _python-bootstrap

Sample openZIM Python project bootstrap
1 stars 1 forks source link

Create an openzim hatch plugin #35

Closed benoit74 closed 4 months ago

benoit74 commented 6 months ago

We should create a hatch plugin which would:

Some known "good" plugins are listed here: https://hatch.pypa.io/latest/plugins/build-hook/reference/

Is it ok to name the plugin "hatch-openzim" and create a repo with the same name in the openzim organization?

rgaudin commented 6 months ago

Is it ok to name the plugin "hatch-openzim" and create a repo with the same name in the openzim organization?

👍

benoit74 commented 6 months ago

Work has started here: https://github.com/openzim/hatch-openzim/tree/initial_version

I struggle to test the plugin locally, probably only a misconfiguration, I asked for help upstream.

Code for the download of assets is mostly ready, it only need a good test harness (and it is not really very simple to do locally, but still mandatory for such an important piece of code)

benoit74 commented 4 months ago

Fixed by https://github.com/openzim/_python-bootstrap/pull/36