From 080fb6adaded2bd34fc4e968cb74a4caf7352494 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Thu, 22 Nov 2018 12:19:31 +0100 Subject: [PATCH] move build-related files to root, test.sh to test/ --- files/LICENSE => LICENSE | 0 Makefile | 2 +- README.md | 7 +++++-- files/ocrd-tool.json => ocrd-tool.json | 0 files/requirements.txt => requirements.txt | 0 {files => tests}/test.sh | 0 6 files changed, 6 insertions(+), 3 deletions(-) rename files/LICENSE => LICENSE (100%) rename files/ocrd-tool.json => ocrd-tool.json (100%) rename files/requirements.txt => requirements.txt (100%) rename {files => tests}/test.sh (100%) diff --git a/files/LICENSE b/LICENSE similarity index 100% rename from files/LICENSE rename to LICENSE diff --git a/Makefile b/Makefile index 2dce889..a1244eb 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ help: @echo " uninstall Remove all installed files, and subfolder in share/" deps: - pip3 --no-cache-dir install -r files/requirements.txt + pip3 --no-cache-dir install -r requirements.txt install: @mkdir -p $(SHAREDIR) $(BINDIR) $(TESTDIR) diff --git a/README.md b/README.md index e13318a..e274e80 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,13 @@ # ocrd_typegroups_classifier -** Quick setup ** +> Typegroups classifier for OCR + +## Quick setup + If needed, create a virtual environment for Python 3 (it was tested successfully with Python 3.7), activate it, and install ocrd. -``` +```sh virtualenv -p python3 ocrd-venv3 source ocrd-venv3/bin/activate pip3 install ocrd diff --git a/files/ocrd-tool.json b/ocrd-tool.json similarity index 100% rename from files/ocrd-tool.json rename to ocrd-tool.json diff --git a/files/requirements.txt b/requirements.txt similarity index 100% rename from files/requirements.txt rename to requirements.txt diff --git a/files/test.sh b/tests/test.sh similarity index 100% rename from files/test.sh rename to tests/test.sh