mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-06-15 22:39: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:
|
||||
|
||||
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:
|
||||
```
|
||||
virtualenv --python=python3.6 venv
|
||||
```
|
||||
|
||||
Activate virtual environment:
|
||||
Activate virtual environment (virtualenv):
|
||||
```
|
||||
source venv/bin/activate
|
||||
```
|
||||
or (pyenv):
|
||||
```
|
||||
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:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
ocrd >= 2.23.2
|
||||
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