From 15f0a98844203765776b534463aa62a226c50bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Ignacio=20S=C3=A1nchez=20Lara?= Date: Tue, 27 Feb 2018 13:29:19 +0100 Subject: [PATCH] 1.2.2 release --- CONTRIBUTING.md | 13 +++++++------ doc/source/conf.py | 4 ++-- setup.py | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0b594e6..d60403c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,8 +4,9 @@ Contributions are totally welcome. However, contributors must sign a Contributor ## Release process -1. You must be maintainer at [carto pypi repo](https://pypi.python.org/pypi/carto/). -2. Prepare a `~/.pypirc` file: +1. Update version number and information at `setup.py`, `conf.py` and `NEWS.md`. +2. You must be maintainer at [carto pypi repo](https://pypi.python.org/pypi/carto/). +3. Prepare a `~/.pypirc` file: ``` [distutils] @@ -22,7 +23,7 @@ username=your_username password=your_password ``` -3. Upload the package to the test repository: `python setup.py sdist upload -r pypitest`. -4. Install it in a new environment: `pip install --index-url=https://test.pypi.org/simple --extra-index-url=https://pypi.org/simple carto`. -5. Test it. -6. Release it: `python setup.py sdist upload -r pypi`. +4. Upload the package to the test repository: `python setup.py sdist upload -r pypitest`. +5. Install it in a new environment: `pip install --index-url=https://test.pypi.org/simple --extra-index-url=https://pypi.org/simple carto`. +6. Test it. +7. Release it: `python setup.py sdist upload -r pypi`. diff --git a/doc/source/conf.py b/doc/source/conf.py index f1fd049..4241dce 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -55,9 +55,9 @@ # built documents. # # The short X.Y version. -version = u'1.2.1' +version = u'1.2.2' # The full version, including alpha/beta/rc tags. -release = u'1.2.1' +release = u'1.2.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 3be9e21..98a2001 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ author="Daniel CarriĆ³n", author_email="daniel@carto.com", description="SDK around CARTO's APIs", - version="1.2.1", + version="1.2.2", url="https://github.com/CartoDB/carto-python", install_requires=required, packages=["carto"])