From 85b9a754664736655eb81b3d31e13f7c5c886238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Fri, 16 Jun 2023 09:53:28 +0200 Subject: [PATCH] Add release instructions --- Makefile | 2 +- README.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c44d5e0..e74bbb1 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ docs: publish-pypi: rm -rf $(DIST) $(BUILD) *.egg-info $(BIN)/python setup.py sdist bdist_wheel - $(BIN)/twine upload $(DIST)/* + $(BIN)/twine upload --repository carto-auth $(DIST)/* publish-test-pypi: rm -rf $(DIST) $(BUILD) *.egg-info diff --git a/README.md b/README.md index 8a37ec0..75135cd 100644 --- a/README.md +++ b/README.md @@ -65,4 +65,20 @@ Check the development [documentation](./docs) section. ## Contributors - [Jesús Arroyo](https://github.com/jesus89) +- [Valentin de la Cruz](https://github.com/vdelacruzb) - [Óscar Ramírez](https://github.com/tuxskar) + +## Release + +The release to PyPI requires an API token and setting the following file locally with the token: `~/.pypirc` + +``` +[distutils] +index-servers = + carto-auth + +[carto-auth] +repository = https://upload.pypi.org/legacy/ +username = __token__ +password = +```