Skip to content

Commit

Permalink
Preparation for 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Jan 23, 2024
1 parent 946c820 commit 69b6e4b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sphinx:
configuration: docs/conf.py

python:
version: 3.8
version: 3.11
install:
- method: pip
path: .
Expand Down
9 changes: 4 additions & 5 deletions docs/contents/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

__ https://github.com/useblocks/libpdf/compare/v0.0.1...HEAD
__ https://github.com/useblocks/libpdf/compare/v0.1.0...HEAD

`Unreleased`__
--------------

..
__ https://github.com/useblocks/libpdf/compare/v0.0.1...v0.0.2
__ https://github.com/useblocks/libpdf/compare/v0.0.1...v0.1.0

`0.0.2`__ - 2020-09-30
----------------------
`0.1.0`__ - 2024-01-23
----------------------

Added
~~~~~
Expand Down
6 changes: 2 additions & 4 deletions libpdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
:copyright: © 2020 by team useblocks
:license: MIT, see LICENSE for more details
""" # needed for autodoc
try:
import importlib_metadata # Python 3.6 and 3.7
except ImportError:
import importlib.metadata as importlib_metadata # Python 3.8, 3.9

import importlib.metadata as importlib_metadata # Python 3.8, 3.9

__version__: str = importlib_metadata.version("libpdf")
__summary__: str = importlib_metadata.metadata("libpdf")["Summary"]
Expand Down
3 changes: 1 addition & 2 deletions libpdf/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,7 @@ def handle_parse_result(self, ctx, opts, args):
"--no-rects",
is_flag=True,
show_default=True,
help="Skip rects. rects will not be part of the output JSON/YAML structures and also not saved if"
" --save-rects is given.",
help="Skip rectangles. Rectangles will not be part of the output JSON/YAML structures.",
)
@click.option("-vd", "--visual-debug", is_flag=True, help="Visual debug libpdf.")
@click.option(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "libpdf"
version = "0.0.1"
version = "0.1.0"
description = "Extract structured data from PDFs."
authors = [
"Marco Heinemann <marco.heinemann@useblocks.com>",
Expand Down

0 comments on commit 69b6e4b

Please sign in to comment.