mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-06-16 14:59:54 +02:00
Update required python version;update README
This commit is contained in:
parent
b9cb04389c
commit
52e8e7f7c3
2 changed files with 11 additions and 13 deletions
22
README.md
22
README.md
|
@ -4,27 +4,25 @@ Create .tsv files that can be viewed and edited with [neat](https://github.com/q
|
||||||
|
|
||||||
## Installation:
|
## 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
|
|
||||||
```
|
|
||||||
|
|
||||||
Activate virtual environment:
|
|
||||||
```
|
```
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
```
|
```
|
||||||
|
or (pyenv):
|
||||||
|
```
|
||||||
|
pyenv activate my-python-3.11-virtualenv
|
||||||
|
```
|
||||||
|
|
||||||
Upgrade pip:
|
Update pip:
|
||||||
```
|
```
|
||||||
pip install -U pip
|
pip install -U pip
|
||||||
```
|
```
|
||||||
|
Install sbb_images:
|
||||||
Install package together with its dependencies in development mode:
|
|
||||||
```
|
```
|
||||||
pip install -e sbb_utils
|
pip install git+https://github.com/qurator-spk/page2tsv.git
|
||||||
pip install -e page2tsv
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## PAGE-XML to TSV Transformation:
|
## PAGE-XML to TSV Transformation:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
ocrd >= 2.23.2
|
ocrd >= 2.23.2
|
||||||
pandas
|
pandas
|
||||||
qurator-sbb-utils
|
qurator-sbb-utils @ git+https://github.com/qurator-spk/sbb_utils.git
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue