Skip to content

Commit

Permalink
Merge branch 'long-description' into 'master'
Browse files Browse the repository at this point in the history
Add description for pypi

See merge request ProtonVPN/linux/proton-python-client!30
  • Loading branch information
Alexandru Cheltuitor committed Apr 21, 2021
2 parents f0376fe + cfb98e2 commit bad5a24
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion arch/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Proton Technologies AG <[email protected]>
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")
Expand Down
8 changes: 7 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> 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
Expand Down
2 changes: 1 addition & 1 deletion proton/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

VERSION = "0.4.0"
VERSION = "0.4.1"
DEFAULT_TIMEOUT = (10, 30)
PUBKEY_HASH_DICT = {
"api.protonvpn.ch": [
Expand Down
5 changes: 4 additions & 1 deletion rpmbuild/SPECS/python3-proton-client.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%define unmangled_name proton-client
%define version 0.4.0
%define version 0.4.1
%define release 1

Prefix: %{_prefix}
Expand Down Expand Up @@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)

%changelog
* Wed Apr 21 2021 Proton Technologies AG <[email protected]> 0.4.1-1
- Add long description to setup.py

* Mon Apr 19 2021 Proton Technologies AG <[email protected]> 0.4.0-1
- Add proxy support
- Verify fingerprint of signer key
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[metadata]
long_description = file: README.md
long_description_content_type = text/markdown

7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@
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,
description="Proton Technologies API wrapper",
author="Proton Technologies",
author_email="[email protected]",
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,
Expand Down

0 comments on commit bad5a24

Please sign in to comment.