Proceso de release
-
Cambiar el número de versión en
setup.py. -
Generar el paquete:
sudo apt install python3-build
python3 -m build
- Instalar twine:
pip3 install twine
Este paso puede variar dependiendo la versión de Ubuntu utilizada (ver más abajo cómo setear el entorno virtual).
- Subirlo a pypi:
twine upload dist/*
Pasar el API TOKEN.
- Borrar los archivos del build:
rm -rf dist/ build/ tbbackoff.egg-info/
Tests
- Configurar un entorno virtrual:
python3 -m venv venv
source venv/bin/activate
pip3 install mock twine # TODO: armar un requirements.txt
pip3 install -e .
- Ejecutar los tests:
python -m unittest
Release files for tbbackoff 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tbbackoff-0.0.6.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tbbackoff-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / tbbackoff-0.0.6.tar.gz
| Download URL | tbbackoff-0.0.6.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78dfe9817b77410f36f74af7bca800d784828234d71b50199762077068f60f3d
|
|
BLAKE2b-256 checksum How to use checksums |
12c5056b93a9ad75233d06dfd8419471cb73a1125fee8931ec1d551d78315d8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / tbbackoff-0.0.6-py3-none-any.whl
| Download URL | tbbackoff-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c921225218250f9996bd9394c897e17a44cd8ad0621b90cfe503aeda1e77e999
|
|
BLAKE2b-256 checksum How to use checksums |
86fb7ee57115c4b7fc7494f60a09ba6bf0dd4ff120853d746f6125b4353e19a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|