aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst5
-rw-r--r--pyproject.toml1
-rwxr-xr-xscripts/openlibrary2lesana3
3 files changed, 8 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index d936197..4989b91 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -5,6 +5,11 @@
Unreleased
==========
+* Add missing dependency to hazwaz.
+
+0.10.1
+======
+
* Fix script installation via pyproject.toml.
0.10.0
diff --git a/pyproject.toml b/pyproject.toml
index 81dab8d..5fb97a6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -32,6 +32,7 @@ dependencies = [
"ruamel.yaml",
"jinja2",
"python-dateutil",
+ "hazwaz",
#"xapian >= 1.4",
]
dynamic = ["version"]
diff --git a/scripts/openlibrary2lesana b/scripts/openlibrary2lesana
index c3d38e3..cf026ad 100755
--- a/scripts/openlibrary2lesana
+++ b/scripts/openlibrary2lesana
@@ -6,6 +6,7 @@ import os
import sys
import dateutil.parser
+import hazwaz
import requests
import lesana
@@ -18,7 +19,7 @@ OPENAPI_ISBN_URL = OPENAPI_BASE + '/isbn/{isbn}.json'
logger = logging.getLogger(__name__)
-class OL2L(lesana.command.Command):
+class OL2L(lesana.command.Command, hazwaz.mixins.ExternalEditorMixin):
"""
Manage collections
"""