From 6f770825dfde317f813223adb09cff50dafd9747 Mon Sep 17 00:00:00 2001 From: Quentin POLLET Date: Thu, 16 Apr 2020 21:54:12 +0200 Subject: [PATCH] Release 0.6.0 --- README.rst | 2 +- scripts/publish.sh | 18 ++++++++++++++++++ setup.py | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100755 scripts/publish.sh diff --git a/README.rst b/README.rst index 22a4d958..5fd479b5 100644 --- a/README.rst +++ b/README.rst @@ -67,7 +67,7 @@ Store the ``device_token`` property so that you do not need to reconnect with pa Code exemple ------- +------------ .. code-block:: python diff --git a/scripts/publish.sh b/scripts/publish.sh new file mode 100755 index 00000000..c0f3ff51 --- /dev/null +++ b/scripts/publish.sh @@ -0,0 +1,18 @@ +# Publish the library +# https://pypi.org/project/python-synology +# Publish documentation here: https://packaging.python.org/tutorials/packaging-projects/ + +./scripts/common.sh +./scripts/clean.sh + +# Install/update dependencies +python3 -m pip install --user --upgrade setuptools wheel +python3 -m pip install --user --upgrade twine + +# Build +python3 setup.py sdist bdist_wheel + +# Push to PyPi +python3 -m twine upload dist/* + +# Enter credentials manually :P diff --git a/setup.py b/setup.py index 38c66816..915343ee 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from codecs import open REPO_URL = "https://github.com/ProtoThis/python-synology" -VERSION = "0.5.0" +VERSION = "0.6.0" with open("requirements.txt") as f: required = f.read().splitlines()