Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/windows #441

Merged
merged 3 commits into from
Apr 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions buku
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@ import threading
import time
from typing import Any, Dict, Iterable, List, Optional, Tuple
import webbrowser
try:
import readline
except ImportError:
import pyreadline as readline # type: ignore
from bs4 import BeautifulSoup
import certifi
import urllib3
from urllib3.exceptions import LocationParseError
from urllib3.util import parse_url, make_headers
from bs4 import BeautifulSoup
# note catch ModuleNotFoundError instead Exception
# when python3.5 not supported
try:
import readline
except Exception:
import pyreadline as readline # type: ignore
try:
from mypy_extensions import TypedDict
except ImportError:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ cryptography>=1.2.3
html5lib>=1.0.1
setuptools
urllib3>=1.23
pyreadline; sys_platform == 'windows'