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