Add Forgejo PyPI support and update .gitignore for sensitive files
This commit is contained in:
parent
b8a7fb903e
commit
4fd9f13f36
7 changed files with 636 additions and 55 deletions
22
.pypirc.example
Normal file
22
.pypirc.example
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[distutils]
|
||||
index-servers =
|
||||
forgejo
|
||||
|
||||
[forgejo]
|
||||
# Forgejo PyPI Repository Configuration
|
||||
# Repository: https://your-forgejo-instance.com/api/packages/{username}/pypi
|
||||
# Documentation: https://docs.forgejo.org/en/latest/usage/packages/pypi/
|
||||
#
|
||||
# To use this file:
|
||||
# 1. Replace YOUR_FORGEJO_INSTANCE with your Forgejo URL
|
||||
# 2. Replace YOUR_USERNAME with your Forgejo username
|
||||
# 3. Replace YOUR_ACCESS_TOKEN with your Forgejo personal access token
|
||||
# (Generate at: https://your-forgejo-instance.com/user/settings/applications)
|
||||
# 4. Keep this file secure (credentials inside!)
|
||||
#
|
||||
# WARNING: This file contains sensitive credentials.
|
||||
# Add to .gitignore to prevent accidental commits!
|
||||
|
||||
repository = https://git.him-tools.de/api/packages/HIM-public/pypi/
|
||||
username = __token__
|
||||
password = YOUR_ACCESS_TOKEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue