aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-01-23 20:22:18 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-01-23 20:22:18 +0000
commit575aeb3d18c9bca3541f34d35c7345a6521224e2 (patch)
tree66e4d4e8b884f3e06c0e127cb8c9fd155175b099 /setup.py
parentInclude cookies and add CiteSeerX timeout (diff)
downloadpaper2remarkable-575aeb3d18c9bca3541f34d35c7345a6521224e2.tar.gz
paper2remarkable-575aeb3d18c9bca3541f34d35c7345a6521224e2.zip
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.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
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 = []