Add certifi as a requirement.
This commit is contained in:
parent
eaea7ddcb0
commit
6b58bb9a8d
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
certifi
|
||||
urllib3>=1.13.1
|
||||
beautifulsoup4>=4.4.1
|
||||
cryptography>=1.2.3
|
||||
|
2
setup.py
2
setup.py
@ -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={
|
||||
|
Loading…
x
Reference in New Issue
Block a user