From d510135fb269958712b8b80de0bead05a3aee176 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 24 Mar 2019 22:12:02 +0100 Subject: [PATCH] prepare deltachat-0.9 python bindings release --- .scripts/buildwheel.sh | 3 +++ python/CHANGELOG | 8 ++++++++ python/README.rst | 10 ++++++++++ python/src/deltachat/__init__.py | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.scripts/buildwheel.sh b/.scripts/buildwheel.sh index a97b45d2..71f7e93a 100644 --- a/.scripts/buildwheel.sh +++ b/.scripts/buildwheel.sh @@ -7,6 +7,9 @@ rm -rf python/wheelhouse/* cd $TRAVIS_BUILD_DIR docker run --rm -it -v $(pwd):/io deltachat/wheel /io/python/wheelbuilder/build-wheels.sh +# create an index at the community "devpi" python packaging site +# and push both binary wheel packages and the source package to +# the https://m.devpi.net/dc/BRANCHNAME index devpi use https://m.devpi.net devpi login dc --password $DEVPI_LOGIN diff --git a/python/CHANGELOG b/python/CHANGELOG index 7d89682c..dc3431e4 100644 --- a/python/CHANGELOG +++ b/python/CHANGELOG @@ -1,3 +1,11 @@ +0.9.0 +----- + +- build against latest deltachat core (0.41 ++) +- streamline package building +- allow installing from devpi.net package index + + 0.8.2 ----- diff --git a/python/README.rst b/python/README.rst index 2ebfa1a6..ed343250 100644 --- a/python/README.rst +++ b/python/README.rst @@ -31,6 +31,16 @@ If you have a linux system you, may install python -c "import deltachat" +Installing a wheel from a github branch +--------------------------------------- + +For Linux, we automatically build wheels for all PRs +and push them to a devpi/pypi index which case be used +with ``pip``. For example, to install the latest "master" built:: + + pip install -i https://m.devpi.net/dc/master deltachat + + Installing bindings from source =============================== diff --git a/python/src/deltachat/__init__.py b/python/src/deltachat/__init__.py index 920bd11a..6d319872 100644 --- a/python/src/deltachat/__init__.py +++ b/python/src/deltachat/__init__.py @@ -2,7 +2,7 @@ from deltachat import capi, const from deltachat.capi import ffi from deltachat.account import Account # noqa -__version__ = "0.9.0dev1" +__version__ = "0.9.0" _DC_CALLBACK_MAP = {}