25 lines
816 B
Text
25 lines
816 B
Text
# .pypirc.example
|
|
# Configuration file for uploading packages to Forgejo PyPI
|
|
#
|
|
# This file is a template - copy it to .pypirc and fill in your credentials:
|
|
# cp .pypirc.example .pypirc
|
|
#
|
|
# IMPORTANT: Never commit .pypirc to version control!
|
|
# It should already be in .gitignore
|
|
|
|
[distutils]
|
|
index-servers =
|
|
forgejo
|
|
|
|
[forgejo]
|
|
repository = https://git.him-tools.de/api/packages/HIM-public/pypi
|
|
username = __token__
|
|
password = YOUR_FORGEJO_ACCESS_TOKEN_HERE
|
|
|
|
# How to get your Forgejo access token:
|
|
# 1. Log in to your Forgejo instance: https://git.him-tools.de
|
|
# 2. Go to Settings > Applications > Generate New Token
|
|
# 3. Select 'write:package' scope
|
|
# 4. Copy the token and paste it above (replace YOUR_FORGEJO_ACCESS_TOKEN_HERE)
|
|
#
|
|
# Note: The username should always be "__token__" when using an access token
|