From 0659342abf33e1c3959f05ee4b3d222022220570 Mon Sep 17 00:00:00 2001 From: Samuele Kaplun Date: Wed, 21 Apr 2021 14:31:42 +0200 Subject: [PATCH 1/2] Add description for pypi Signed-off-by: Samuele Kaplun --- proton/constants.py | 2 +- setup.cfg | 4 ++++ setup.py | 7 ------- 3 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 setup.cfg diff --git a/proton/constants.py b/proton/constants.py index c5ce6f1..f83b0b4 100644 --- a/proton/constants.py +++ b/proton/constants.py @@ -1,5 +1,5 @@ -VERSION = "0.4.0" +VERSION = "0.4.1" DEFAULT_TIMEOUT = (10, 30) PUBKEY_HASH_DICT = { "api.protonvpn.ch": [ diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..7348afe --- /dev/null +++ b/setup.cfg @@ -0,0 +1,4 @@ +[metadata] +long_description = file: README.md +long_description_content_type = text/markdown + diff --git a/setup.py b/setup.py index 0944d3f..a649575 100755 --- a/setup.py +++ b/setup.py @@ -3,12 +3,6 @@ from setuptools import setup, find_packages from proton.constants import VERSION -long_description = """ - -This package, originally forked from python-srp module implements a simple -wrapper to the Proton Technologies API, abstracting from the SRP authentication. -""" # noqa - setup( name="proton-client", version=VERSION, @@ -16,7 +10,6 @@ author="Proton Technologies", author_email="contact@protonmail.com", url="https://github.com/ProtonMail/proton-python-client", - long_description=long_description, install_requires=["requests", "bcrypt", "python-gnupg", "pyopenssl"], packages=find_packages(), include_package_data=True, From cfb98e2f90529fc420857ddc3f91df4d5851e287 Mon Sep 17 00:00:00 2001 From: Alexandru Cheltuitor Date: Wed, 21 Apr 2021 13:45:15 +0100 Subject: [PATCH 2/2] Update changelog and bump version --- arch/PKGBUILD | 2 +- debian/changelog | 8 +++++++- rpmbuild/SPECS/python3-proton-client.spec | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index c0c07d7..c026d6b 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Proton Technologies AG pkgname=python-proton-client -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=1 pkgdesc="Safely login with ProtonVPN credentials to connect to Proton." arch=("any") diff --git a/debian/changelog b/debian/changelog index ca961ce..3b61708 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,10 @@ -proton-python-client (0.4.0-1) unstable; urgency=medium +proton-python-client (0.4.1-1) unstable; urgency=medium + + * Add long description to setup.py + + -- Proton Technologies AG Wed, 21 Apr 2021 13:45:00 +0100 + + proton-python-client (0.4.0-1) unstable; urgency=medium * Add proxy support * Verify fingerprint of signer key diff --git a/rpmbuild/SPECS/python3-proton-client.spec b/rpmbuild/SPECS/python3-proton-client.spec index 1080767..36708f0 100644 --- a/rpmbuild/SPECS/python3-proton-client.spec +++ b/rpmbuild/SPECS/python3-proton-client.spec @@ -1,5 +1,5 @@ %define unmangled_name proton-client -%define version 0.4.0 +%define version 0.4.1 %define release 1 Prefix: %{_prefix} @@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %changelog +* Wed Apr 21 2021 Proton Technologies AG 0.4.1-1 +- Add long description to setup.py + * Mon Apr 19 2021 Proton Technologies AG 0.4.0-1 - Add proxy support - Verify fingerprint of signer key