Add Forgejo upload script and update documentation for package registry
This commit is contained in:
parent
2be62e36fd
commit
9c8ddfdc8a
5 changed files with 160 additions and 0 deletions
20
README.md
20
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue