diff options
Diffstat (limited to 'imdb-lookup')
-rw-r--r-- | imdb-lookup/README.md | 4 | ||||
-rwxr-xr-x | imdb-lookup/imdblookup.py | 9 | ||||
-rw-r--r-- | imdb-lookup/requirements.txt | 5 |
3 files changed, 11 insertions, 7 deletions
diff --git a/imdb-lookup/README.md b/imdb-lookup/README.md index 2512418..edfe09b 100644 --- a/imdb-lookup/README.md +++ b/imdb-lookup/README.md @@ -7,6 +7,10 @@ imdblookup.py Rename with Text gui imdbinfo.py general tools +# install + pip install -r requirements.txt + pip install --user -r requirements.txt + # TMDB: for tmdb you need a Api-Key diff --git a/imdb-lookup/imdblookup.py b/imdb-lookup/imdblookup.py index 788350c..372f4dc 100755 --- a/imdb-lookup/imdblookup.py +++ b/imdb-lookup/imdblookup.py @@ -7,13 +7,8 @@ import re import shutil from threading import Thread from functools import wraps -try: - import urwid - import tmdbsimple as tmdb -except ImportError as e: - print(u"Missing dependency: {0}".format(str(e))) - print(u"Install using system package manager or `pip install --user <module>`") - sys.exit(1) +import urwid +import tmdbsimple as tmdb def run_async(func): @wraps(func) diff --git a/imdb-lookup/requirements.txt b/imdb-lookup/requirements.txt new file mode 100644 index 0000000..811301a --- /dev/null +++ b/imdb-lookup/requirements.txt @@ -0,0 +1,5 @@ +guessit +requests +tmdbsimple +Pillow +urwid |