Add Forgejo upload script and update documentation for package registry

This commit is contained in:
claudi 2026-04-07 11:55:38 +02:00
parent 2be62e36fd
commit 9c8ddfdc8a
5 changed files with 160 additions and 0 deletions

View file

@ -69,6 +69,26 @@ Set the version and build the wheel in one step:
& .\.venv\Scripts\python.exe .\scripts\build_wheel.py --version 0.1.1
```
Upload the wheel to the Forgejo package registry:
```powershell
.\upload_wheel_to_forgejo_pypi.ps1
```
Force a rebuild before upload:
```powershell
.\upload_wheel_to_forgejo_pypi.ps1 -Build
```
Build a specific version and upload it:
```powershell
.\upload_wheel_to_forgejo_pypi.ps1 -Build -Version 0.1.1
```
Create `.pypirc` in the project root from `.pypirc.example` and fill in your Forgejo token before uploading.
Create a client with your eBay credentials:
```python