mypackage (0.1.0)
Published 2026-05-29 06:35:31 +00:00 by alexandre
Installation
pip install --index-url mypackageAbout this package
My Package
A demonstration of how build and deploy a Python package using poetry.
Package initilization
poetry new mypackage
- Code can now be updated
- Package vesion will be taken from the
pyproject.tomlfile version field.
Package build
poetry build
This will generate a dist folder with a whl file and a tar.gz file. The first one is the package, the second is an archive of the source files.
Poetry configuration to publish on local PyPi equivalent.
- Configure the repository that Poetry can contact
poetry config repositories.self-forgejo https://forgejo.mountyfox.ch/api/packages/<ORG_OR_USER>/pypi
- Configure authentication for that repository
poetry config http-basic.self-forgejo <USER> <TOKEN>
Requirements
Requires Python: >=3.11
Details
2026-05-29 06:35:31 +00:00
Assets (2)
Versions (3)
View all
PyPI
4
Alexandre MOREAU
2.6 KiB
mypackage-0.1.0.tar.gz
1 KiB
mypackage-0.1.0-py3-none-any.whl
1.6 KiB