Publishing and retrieving packages #2

Open
opened 2024-07-24 08:30:02 -07:00 by godber · 0 comments
Owner

To publish to the gitea pypi package repo the user must have access to the project and ~/.pypirc

[distutils]
index-servers = gitea

[gitea]
repository = https://git.hawt.cloud/api/packages/godber/pypi
username = USER
password = PASS

run these commands to build and publish

flit build
flit publish --repository gitea

To install from the non pypi index

pip install --index-url https://git.hawt.cloud/api/packages/godber/pypi bankfind

https://docs.readthedocs.io/en/stable/guides/private-python-packages.html#from-a-repository-manager-other-than-pypi

To publish to the gitea pypi package repo the user must have access to the project and `~/.pypirc` ```ini [distutils] index-servers = gitea [gitea] repository = https://git.hawt.cloud/api/packages/godber/pypi username = USER password = PASS ``` run these commands to build and publish ```bash flit build flit publish --repository gitea ``` To install from the non pypi index ```bash pip install --index-url https://git.hawt.cloud/api/packages/godber/pypi bankfind ``` https://docs.readthedocs.io/en/stable/guides/private-python-packages.html#from-a-repository-manager-other-than-pypi
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: godber/bankfind#2
No description provided.