Get rid of requests library dep

This commit is contained in:
Arun Prakash Jana 2017-12-01 15:00:11 +05:30
parent 1f0b666c42
commit 179436fff1
No known key found for this signature in database
GPG Key ID: A75979F35C080412
5 changed files with 2 additions and 12 deletions

View File

@ -88,14 +88,13 @@ PRs are welcome. Please visit [#233](https://github.com/jarun/Buku/issues/233) f
| HTTP(S) | urllib3 | | HTTP(S) | urllib3 |
| Encryption | cryptography | | Encryption | cryptography |
| Import browser exported html | beautifulsoup4 | | Import browser exported html | beautifulsoup4 |
| Shorten URL, check latest release | requests |
To install package dependencies using pip3, run: To install package dependencies using pip3, run:
$ sudo pip3 install urllib3 cryptography beautifulsoup4 requests $ sudo pip3 install urllib3 cryptography beautifulsoup4
or on Ubuntu: or on Ubuntu:
$ sudo apt-get install python3-urllib3 python3-cryptography python3-bs4 python3-requests $ sudo apt-get install python3-urllib3 python3-cryptography python3-bs4
#### From a package manager #### From a package manager

View File

@ -14,7 +14,6 @@ packaging==16.8
pyasn1==0.2.3 pyasn1==0.2.3
pycparser==2.17 pycparser==2.17
pyparsing==2.2.0 pyparsing==2.2.0
requests==2.13.0
six==1.10.0 six==1.10.0
urllib3==1.20 urllib3==1.20
Werkzeug==0.11.15 Werkzeug==0.11.15

View File

@ -12,7 +12,6 @@ packages:
- make - make
deps: deps:
- python-urllib3 - python-urllib3
- python-requests
- python-cryptography - python-cryptography
- python-beautifulsoup4 - python-beautifulsoup4
- python - python
@ -22,7 +21,6 @@ packages:
deps: deps:
- python3-beautifulsoup4 - python3-beautifulsoup4
- python3-cryptography - python3-cryptography
- python3-requests
- python3-urllib3 - python3-urllib3
- python3 - python3
# centos no beautifulsoup4 # centos no beautifulsoup4
@ -32,7 +30,6 @@ packages:
deps: deps:
# - python-beautifulsoup4 # - python-beautifulsoup4
- python-cryptography - python-cryptography
- python-requests
- python-urllib3 - python-urllib3
- python - python
commands: commands:
@ -43,7 +40,6 @@ packages:
- make - make
deps: deps:
- python3-urllib3 - python3-urllib3
- python3-requests
- python3-cryptography - python3-cryptography
- python3-bs4 - python3-bs4
- python3 - python3
@ -52,7 +48,6 @@ packages:
- make - make
deps: deps:
- python3-urllib3 - python3-urllib3
- python3-requests
- python3-cryptography - python3-cryptography
- python3-bs4 - python3-bs4
- python3 - python3
@ -61,7 +56,6 @@ packages:
- make - make
deps: deps:
- python3-urllib3 - python3-urllib3
- python3-requests
- python3-cryptography - python3-cryptography
- python3-bs4 - python3-bs4
- python3 - python3

View File

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

View File

@ -38,7 +38,6 @@ setup(
'HTTP': ['urllib3'], 'HTTP': ['urllib3'],
'CRYPTO': ['cryptography'], 'CRYPTO': ['cryptography'],
'HTML': ['beautifulsoup4'], 'HTML': ['beautifulsoup4'],
'REQUESTS': ['requests'],
'tests': tests_require, 'tests': tests_require,
}, },
test_suite='tests', test_suite='tests',