summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-02-15 11:20:01 +0100
committerYves Fischer <yvesf-git@xapek.org>2015-02-15 11:20:26 +0100
commit56094c0de7abb3bc2bee7e07bf9e4bf3c9cbf3e7 (patch)
tree2a18d9325adedf3b19942a5eab008c07e60027ea /imdb-lookup
parentd4118bd1d74dc623de7d59746d95e9f521d543c1 (diff)
downloadscripts-56094c0de7abb3bc2bee7e07bf9e4bf3c9cbf3e7.tar.gz
scripts-56094c0de7abb3bc2bee7e07bf9e4bf3c9cbf3e7.zip
add requirements.txt
Diffstat (limited to 'imdb-lookup')
-rw-r--r--imdb-lookup/README.md4
-rwxr-xr-ximdb-lookup/imdblookup.py9
-rw-r--r--imdb-lookup/requirements.txt5
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