uEdition 2.0.0a1__py3-none-any.whl → 2.0.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of uEdition might be problematic. Click here for more details.

uedition/__about__.py CHANGED
@@ -3,4 +3,4 @@
3
3
  # SPDX-License-Identifier: MIT
4
4
  """About this package."""
5
5
 
6
- __version__ = "2.0.0a1"
6
+ __version__ = "2.0.0a2"
@@ -256,7 +256,7 @@ class TEIParser(SphinxParser):
256
256
 
257
257
  def _parse_list_field(self: "TEIParser", parent: etree.Element, field: dict, root: etree.Element) -> None:
258
258
  """Parse a list of metadata fields."""
259
- content = root.xpath(field["content"], namespaces=namespaces)
259
+ content = root.xpath(field["selector"], namespaces=namespaces)
260
260
  if len(content) > 0:
261
261
  li = nodes.definition_list_item()
262
262
  dt = nodes.term()
@@ -274,7 +274,7 @@ class TEIParser(SphinxParser):
274
274
 
275
275
  def _parse_download_field(self: "TEIParser", parent: etree.Element, field: dict, root: etree.Element) -> None:
276
276
  """Parse a download metadata field."""
277
- content = root.xpath(field["content"], namespaces=namespaces)
277
+ content = root.xpath(field["selector"], namespaces=namespaces)
278
278
  target = root.xpath(field["target"], namespaces=namespaces)
279
279
  if len(content) > 0 and len(target) > 0:
280
280
  if isinstance(content, list):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uEdition
3
- Version: 2.0.0a1
3
+ Version: 2.0.0a2
4
4
  Project-URL: Documentation, https://github.com/uEdition/uEdition#readme
5
5
  Project-URL: Issues, https://github.com/uEdition/uEdition/issues
6
6
  Project-URL: Source, https://github.com/uEdition/uEdition
@@ -1,4 +1,4 @@
1
- uedition/__about__.py,sha256=kq7WGmRyG7G8lDeopl9H4oZ4X9xtex9Qs3BryTuumU0,160
1
+ uedition/__about__.py,sha256=k24sMTNyGf4Oe8FCxCgoNYzCS3u7JLwlCB1o_xfqyNY,160
2
2
  uedition/__init__.py,sha256=xDDK2i5l1NLhxq6_LJH5g7UJDrFEjIJNmT2tcg7xNWI,301
3
3
  uedition/__main__.py,sha256=Pg_yGV-ndR2iiImDC3f017llSX6pSYMslIwZlw8vEpQ,189
4
4
  uedition/settings.py,sha256=G73r6muJmRzuENZ-2n51bBf88qS3tRv0kdxr2SRt1j4,5048
@@ -16,10 +16,10 @@ uedition/ext/language_switcher.py,sha256=tHpf4HsvMtatVn5dQ3EFlrk5urFaMzsZZY755cv
16
16
  uedition/ext/settings.py,sha256=CCbvwlWjhikhoeRZ5E_SuA4zUIqDBMkRes_hjOUxjWk,3735
17
17
  uedition/ext/tei/__init__.py,sha256=8KgVi31bz8nI65m6u4EdT_f1qNCP45HrU0V7MSGlZxA,1074
18
18
  uedition/ext/tei/builder.py,sha256=LkLR3cu1M6lHHdcjhH5esZ9Qn6eFBXCZWkxVxdXv69E,11719
19
- uedition/ext/tei/parser.py,sha256=ebeqEiji2RZ-Gfszf0Yaa-Lqww-EPqLmxXiMBq-gj90,13216
19
+ uedition/ext/tei/parser.py,sha256=1-ugV44M4TmgRHZBYWnvuckTimIx_dHaKaSBL6hxdQA,13218
20
20
  uedition/ext/tei/tei_download.js,sha256=5_IPCuamZGPXWriPPPz5wA-zo0Y0Oy1858S6ltxSdQ8,2151
21
- uedition-2.0.0a1.dist-info/METADATA,sha256=YquOplbaOq4Z17fRpMEQMK2S1imGpd0HS3TWeCaWXEk,2572
22
- uedition-2.0.0a1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- uedition-2.0.0a1.dist-info/entry_points.txt,sha256=cDOOVBb1SZ072ZkY1hW4Y7I_WKKGCtCJtDY1XST1Hr4,96
24
- uedition-2.0.0a1.dist-info/licenses/LICENSE.txt,sha256=MhLJl8GE8mnuO5i_pvKaobpIGnhiAEdkY-a6LKiuwCE,1101
25
- uedition-2.0.0a1.dist-info/RECORD,,
21
+ uedition-2.0.0a2.dist-info/METADATA,sha256=nOJXvW8UPoo3jwQnQSDkkPEFrQeMbSKV7o7RuQZ4zXU,2572
22
+ uedition-2.0.0a2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
+ uedition-2.0.0a2.dist-info/entry_points.txt,sha256=cDOOVBb1SZ072ZkY1hW4Y7I_WKKGCtCJtDY1XST1Hr4,96
24
+ uedition-2.0.0a2.dist-info/licenses/LICENSE.txt,sha256=MhLJl8GE8mnuO5i_pvKaobpIGnhiAEdkY-a6LKiuwCE,1101
25
+ uedition-2.0.0a2.dist-info/RECORD,,