From 52e8e7f7c3ecb6677113b764a0cac1212f90c59b Mon Sep 17 00:00:00 2001 From: Kai Labusch Date: Wed, 23 Apr 2025 14:59:21 +0200 Subject: [PATCH] Update required python version;update README --- README.md | 20 +++++++++----------- requirements.txt | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6ecae18..154f770 100644 --- a/README.md +++ b/README.md @@ -4,27 +4,25 @@ Create .tsv files that can be viewed and edited with [neat](https://github.com/q ## Installation: -Clone this project and the [SBB-utils](https://github.com/qurator-spk/sbb_utils). +Required python version is 3.11. +Consider use of [pyenv](https://github.com/pyenv/pyenv) if that python version is not available on your system. -Setup virtual environment: +Activate virtual environment (virtualenv): ``` -virtualenv --python=python3.6 venv +source venv/bin/activate ``` - -Activate virtual environment: +or (pyenv): ``` -source venv/bin/activate +pyenv activate my-python-3.11-virtualenv ``` -Upgrade pip: +Update pip: ``` pip install -U pip ``` - -Install package together with its dependencies in development mode: +Install sbb_images: ``` -pip install -e sbb_utils -pip install -e page2tsv +pip install git+https://github.com/qurator-spk/page2tsv.git ``` ## PAGE-XML to TSV Transformation: diff --git a/requirements.txt b/requirements.txt index 4a3265b..4ceb92e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ ocrd >= 2.23.2 pandas -qurator-sbb-utils +qurator-sbb-utils @ git+https://github.com/qurator-spk/sbb_utils.git