From 575aeb3d18c9bca3541f34d35c7345a6521224e2 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 23 Jan 2020 20:22:18 +0000 Subject: Reorder the input validation (fixes #21) We used to assume that if a source is not a local file, then it must be a URL. Now, we check if a source is a URL and if not, also check if it's a local file. If neither, then we can raise an error. --- setup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index f54170a..bddbd24 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ REQUIRED = [ "unidecode>=1.1", "titlecase>=0.12", "PyPDF2>=1.26", + "regex>=2018.11" ] docs_require = [] -- cgit v1.2.3