Add certifi as a requirement.

This commit is contained in:
Arun Prakash Jana 2018-08-06 06:34:58 +05:30
parent eaea7ddcb0
commit 6b58bb9a8d
No known key found for this signature in database
GPG Key ID: A75979F35C080412
4 changed files with 33 additions and 22 deletions

View File

@ -88,16 +88,16 @@ There are several [projects based on `buku`](#related-projects), including a bro
| Feature | Dependency |
| --- | --- |
| Scripting language | Python 3.4+ |
| HTTP(S) | urllib3 |
| HTTPS | certifi, urllib3 |
| Encryption | cryptography |
| Import browser exported html | beautifulsoup4 |
To install package dependencies using pip3, run:
# pip3 install urllib3 cryptography beautifulsoup4
# pip3 install certifi urllib3 cryptography beautifulsoup4
or on Ubuntu:
# apt-get install python3-urllib3 python3-cryptography python3-bs4
# apt-get install ca-certificates python3-urllib3 python3-cryptography python3-bs4
To copy url to clipboard at the prompt, `Buku` uses `xsel` on Linux, `pbcopy` (default installed) on OS X and `clip` (default installed) on Windows.

View File

@ -11,19 +11,21 @@ packages:
builddeps:
- make
deps:
- python-urllib3
- python-cryptography
- python-beautifulsoup4
- python
- python-beautifulsoup4
- python-certifi
- python-cryptography
- python-urllib3
# centos no beautifulsoup4
centos7.3:
builddeps:
- make
deps:
- python
# - python-beautifulsoup4
- python-certifi
- python-cryptography
- python-urllib3
- python
commands:
pre:
- yum install epel-release
@ -31,63 +33,71 @@ packages:
builddeps:
- make
deps:
- python
# - python-beautifulsoup4
- python-certifi
- python-cryptography
- python-urllib3
- python
debian9:
builddeps:
- make
deps:
- python3-urllib3
- python3-cryptography
- python3-bs4
- python3
- python3-bs4
- python3-certifi
- python3-cryptography
- python3-urllib3
fedora26:
builddeps:
- make
deps:
- python3
- python3-beautifulsoup4
- python3-certifi
- python3-cryptography
- python3-urllib3
- python3
fedora27:
builddeps:
- make
deps:
- python3
- python3-beautifulsoup4
- python3-certifi
- python3-cryptography
- python3-urllib3
- python3
fedora28:
builddeps:
- make
deps:
- python3
- python3-beautifulsoup4
- python3-certifi
- python3-cryptography
- python3-urllib3
- python3
opensuse42.3:
builddeps:
- make
deps:
- python3
- python3-beautifulsoup4
- python3-certifi
- python3-cryptography
- python3-urllib3
- python3
ubuntu16.04:
builddeps:
- make
deps:
- python3-urllib3
- python3-cryptography
- python3-bs4
- python3
- python3-bs4
- python3-certifi
- python3-cryptography
- python3-urllib3
ubuntu18.04:
builddeps:
- make
deps:
- python3-urllib3
- python3-cryptography
- python3-bs4
- python3
- python3-bs4
- python3-certifi
- python3-cryptography
- python3-urllib3

View File

@ -1,3 +1,4 @@
certifi
urllib3>=1.13.1
beautifulsoup4>=4.4.1
cryptography>=1.2.3

View File

@ -53,7 +53,7 @@ setup(
license='GPLv3',
platforms=['any'],
py_modules=['buku'],
install_requires=['urllib3>=1.13.1', 'beautifulsoup4>=4.4.1', 'cryptography>=1.2.3'],
install_requires=['certifi', 'urllib3>=1.13.1', 'beautifulsoup4>=4.4.1', 'cryptography>=1.2.3'],
packages=find_packages(exclude=['tests']),
include_package_data=True,
entry_points={