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